Class FileDialogViewModel
Base ViewModel class for Rad
Inherited Members
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll
Syntax
public class FileDialogViewModel : DialogViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel, ICurrentDirectoryViewModel, INotifyPropertyChanging, IFileFilterableModel, IFileExtensionFilterable
Constructors
FileDialogViewModel(FileSystemInfoWrapperFactoryBase, Boolean, String)
Initializes a new instance of the File
Declaration
public FileDialogViewModel(FileSystemInfoWrapperFactoryBase fileSystemInfoWrapperFactory, bool showNetwork, string rootDirPath = "")
Parameters
File
|
System.
|
System.
|
Properties
DefaultExt
Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed.
Declaration
public string DefaultExt { get; set; }
Property Value
System.
|
Implements
Filter
Gets or sets the filter string that describes the list of extensions to filter by.
Declaration
public string Filter { get; set; }
Property Value
System.
|
Implements
FilterDescriptors
Gets or sets the list of File
Declaration
public IList<FileFilterDescriptor> FilterDescriptors { get; }
Property Value
System.
|
Implements
FilterIndex
Gets or sets the currently selected extension filter from the extensions described in the Filter property. The index value of the first filter entry is 1.
Declaration
public int FilterIndex { get; set; }
Property Value
System.
|
Implements
IsFilterApplied
Gets or sets a value indicating whether the current filtering is active or not.
Declaration
public bool IsFilterApplied { get; set; }
Property Value
System.
|
Implements
IsSearchActive
SearchPane's IsSearchViewActive is OneWayToSource bound to IsSearchActive. This is the reason for the public modifier here.
Declaration
public bool IsSearchActive { get; set; }
Property Value
System.
|
SelectedFilterName
Gets the FilterName of the currently applied filter.
Declaration
public string SelectedFilterName { get; }
Property Value
System.
|
Methods
GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper)
Gets the current visible File
Declaration
protected override IEnumerable<FileSystemInfoWrapper> GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper parent)
Parameters
Directory
|
Returns
System.
|