FileDialogViewModel
Base ViewModel class for RadOpenFileDialog and RadSaveFileDialog components.
Definition
Namespace:Telerik.WinControls.FileDialogs
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class FileDialogViewModel : DialogViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel, ICurrentDirectoryViewModel, INotifyPropertyChanging, IFileFilterableModel, IFileExtensionFilterable
Inheritance: objectViewModelBaseDialogViewModelFileDialogViewModel
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the FileDialogViewModel class.
public FileDialogViewModel(FileSystemInfoWrapperFactoryBase fileSystemInfoWrapperFactory, bool showNetwork, string rootDirPath = "")
Properties
Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed.
public string DefaultExt { get; set; }
Implements:
Gets or sets the filter string that describes the list of extensions to filter by.
public string Filter { get; set; }
Implements:
Gets or sets the list of FileFilterDescriptors described by the Filter property.
public IList<FileFilterDescriptor> FilterDescriptors { get; }
Implements:
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.
public int FilterIndex { get; set; }
Implements:
Gets or sets a value indicating whether the current filtering is active or not.
public bool IsFilterApplied { get; set; }
Implements:
SearchPane's IsSearchViewActive is OneWayToSource bound to IsSearchActive. This is the reason for the public modifier here.
public bool IsSearchActive { get; set; }
Gets the FilterName of the currently applied filter.
public string SelectedFilterName { get; }
Methods
Gets the current visible FileSystemInfoWrappers.
protected override IEnumerable<FileSystemInfoWrapper> GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper parent)
IEnumerable<FileSystemInfoWrapper>
Overrides: