ManagedFileChooserViewModel Class
Definition
public class ManagedFileChooserViewModel
Constructors
| Name | Description |
|---|---|
| ManagedFileChooserViewModel (4 overloads) | No summary available. |
ManagedFileChooserViewModel overloads
ManagedFileChooserViewModel Constructor
public ManagedFileChooserViewModel(Avalonia.Dialogs.ManagedFileDialogOptions options)
Parameters
ManagedFileChooserViewModel Constructor
public ManagedFileChooserViewModel(Avalonia.Platform.Storage.FilePickerOpenOptions filePickerOpen, Avalonia.Dialogs.ManagedFileDialogOptions options)
Parameters
filePickerOpen Avalonia.Platform.Storage.FilePickerOpenOptions
ManagedFileChooserViewModel Constructor
public ManagedFileChooserViewModel(Avalonia.Platform.Storage.FilePickerSaveOptions filePickerSave, Avalonia.Dialogs.ManagedFileDialogOptions options)
Parameters
filePickerSave Avalonia.Platform.Storage.FilePickerSaveOptions
ManagedFileChooserViewModel Constructor
public ManagedFileChooserViewModel(Avalonia.Platform.Storage.FolderPickerOpenOptions folderPickerOpen, Avalonia.Dialogs.ManagedFileDialogOptions options)
Parameters
folderPickerOpen Avalonia.Platform.Storage.FolderPickerOpenOptions
Methods
| Name | Description |
|---|---|
| CanOk | No summary available. |
| Cancel | No summary available. |
| EnterPressed | No summary available. |
| GoUp | No summary available. |
| Navigate (2 overloads) | No summary available. |
| Ok | No summary available. |
| Refresh | No summary available. |
| SelectSingleFile | No summary available. |
CanOk Method
public bool CanOk(object _)
Parameters
_ object
Returns
bool
Cancel Method
public void Cancel()
EnterPressed Method
public void EnterPressed()
GoUp Method
public void GoUp()
Navigate overloads
Navigate Method
public void Navigate(Avalonia.Platform.Storage.IStorageFolder path, string initialSelectionName)
Parameters
path Avalonia.Platform.Storage.IStorageFolder
initialSelectionName string
Navigate Method
public void Navigate(string path, string initialSelectionName)
Parameters
path string
initialSelectionName string
Ok Method
public void Ok()
Refresh Method
public void Refresh()
SelectSingleFile Method
public void SelectSingleFile(Avalonia.Dialogs.Internal.ManagedFileChooserItemViewModel item)
Parameters
item Avalonia.Dialogs.Internal.ManagedFileChooserItemViewModel
Properties
| Name | Description |
|---|---|
| FileName | No summary available. |
| Filters | No summary available. |
| Items | No summary available. |
| Location | No summary available. |
| QuickLinks | No summary available. |
| QuickLinksSelectedIndex | No summary available. |
| SelectedFilter | No summary available. |
| SelectedItems | No summary available. |
| SelectingFolder | No summary available. |
| SelectionMode | No summary available. |
| ShowFilters | No summary available. |
| ShowHiddenFiles | No summary available. |
| Title | No summary available. |
FileName Property
public string FileName { get; set; }
Filters Property
public Avalonia.Collections.AvaloniaList<Avalonia.Dialogs.Internal.ManagedFileChooserFilterViewModel> Filters { get; set; }
Items Property
public Avalonia.Collections.AvaloniaList<Avalonia.Dialogs.Internal.ManagedFileChooserItemViewModel> Items { get; set; }
Location Property
public string Location { get; set; }
QuickLinks Property
public Avalonia.Collections.AvaloniaList<Avalonia.Dialogs.Internal.ManagedFileChooserItemViewModel> QuickLinks { get; set; }
QuickLinksSelectedIndex Property
public int QuickLinksSelectedIndex { get; set; }
SelectedFilter Property
public Avalonia.Dialogs.Internal.ManagedFileChooserFilterViewModel SelectedFilter { get; set; }
SelectedItems Property
public Avalonia.Collections.AvaloniaList<Avalonia.Dialogs.Internal.ManagedFileChooserItemViewModel> SelectedItems { get; set; }
SelectingFolder Property
public bool SelectingFolder { get; set; }
SelectionMode Property
public Avalonia.Controls.SelectionMode SelectionMode { get; set; }
ShowFilters Property
public bool ShowFilters { get; set; }
ShowHiddenFiles Property
public bool ShowHiddenFiles { get; set; }
Title Property
public string Title { get; set; }
Events
| Name | Description |
|---|---|
| CancelRequested | No summary available. |
| CompleteRequested | No summary available. |
| OverwritePrompt | No summary available. |
| PropertyChanged | Inherited from AvaloniaDialogsInternalViewModelBase. |
CancelRequested Event
public event Action CancelRequested
CompleteRequested Event
public event Action<string[]> CompleteRequested
OverwritePrompt Event
public event Action<string> OverwritePrompt