Serializable, Create a new directory or file picker explorer window (IExplorerViewModel), and show it.

ScriptCommands.Assign("{OnModelCreated_Pick}", 
    ScriptCommands.RunSequence(    
        ScriptCommands.Assign("{Filter}", "Text File|*.txt", false, 
            UIScriptCommands.ExplorerSetParameter(ExplorerParameterType.FilterString, "{Filter}")), 
        IOInitializeHelpers.Explorer_Initialize_Default), true,
UIScriptCommands.ExplorerPick(ExplorerMode.FileOpen, "{OnModelCreated_Pick}", "{OnViewAttached}", "{WindowManager}", "{Events}",
"{SelectedEntries}", "{SelectedPaths}", 
    UIScriptCommands.MessageBoxOK("ExplorerPick", "{SelectedPaths[0]}")));


ExplorerShow.cs

Last edited Oct 28, 2014 at 11:26 AM by lycj, version 1

Comments

No comments yet.