Click or drag to resize
FileDialogViewModel Class
Base ViewModel class for RadOpenFileDialog and RadSaveFileDialog controls.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.FileDialogs
Assembly: Telerik.Windows.Controls.FileDialogs (in Telerik.Windows.Controls.FileDialogs.dll) Version: 2018.1.222.40 (2018.1.222.40)
Syntax
public class FileDialogViewModel : DialogViewModel, 
	IFileFilterableModel, IFileExtensionFilterable

The FileDialogViewModel type exposes the following members.

Constructors
  NameDescription
Public methodFileDialogViewModel
Initializes a new instance of the FileDialogViewModel class.
Top
Methods
  NameDescription
Protected methodCanExecuteAccept
Defines the method that determines whether the accept command can execute in its current state.
(Inherited from DialogViewModel.)
Public methodCreateNewChildFolder
Creates new child folder in the CurrentParentDirectory.
(Inherited from DialogViewModel.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from ViewModelBase.)
Protected methodGetCurrentFileSystemInfoWrappers
Gets the current visible FileSystemInfoWrappers.
(Overrides DialogViewModelGetCurrentFileSystemInfoWrappers(DirectoryInfoWrapper).)
Protected methodInvokeSelectedFileSystemObjects
Execute logic when accept is executed for the selected FileSystemInfoWrappers.
(Overrides DialogViewModelInvokeSelectedFileSystemObjects.)
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnSelectionChanged
Notifies when the SelectedFileSystemObject changes.
(Inherited from DialogViewModel.)
Protected methodResetSelection
Resets the selection.
(Inherited from DialogViewModel.)
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Properties
  NameDescription
Public propertyCurrentFileSystemObjects
Gets the currently visible FileSystemInfoWrappers.
(Inherited from DialogViewModel.)
Public propertyCurrentParentDirectory
Gets the currently drilled directory.
(Inherited from DialogViewModel.)
Public propertyCustomPlaces
Gets or sets the collection of custom places.
(Inherited from DialogViewModel.)
Public propertyDefaultExt
Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed.
Protected propertyFileSystemInfoWrapperFactory
Gets the FileSystemInfoWrapperFactoryBase for creating wrappers for FileSystemInfos.
(Inherited from DialogViewModel.)
Public propertyFilter
Gets or sets the filter string that describes the list of extensions to filter by.
Public propertyFilterDescriptors
Gets or sets the list of FileFilterDescriptors described by the Filter property.
Public propertyFilterIndex
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 propertyInitialDirectory
Gets or sets the initial directory.
(Inherited from DialogViewModel.)
Public propertyIsDirectorySelected
Return true if the selected item is directory.
(Inherited from DialogViewModel.)
Public propertyIsFilterApplied
Gets or sets a value indicating whether the current filtering is active or not.
Public propertyIsSearchActive
SearchPane's IsSearchViewActive is OneWayToSource bound to IsSearchActive. This is the reason for the public modifier here.
Public propertyLayouts
Gets the available layouts for the dialog explorer.
(Inherited from DialogViewModel.)
Public propertyMainNavigationRoot
Gets the main root DirectoryInfoWrapper used for folder navigation.
(Inherited from DialogViewModel.)
Public propertyMainNavigationRootSource
Gets the root DirectoryInfoWrapper used for folder navigation.
(Inherited from DialogViewModel.)
Public propertyName
Gets or sets a string representing the full path to the current file system object.
(Inherited from DialogViewModel.)
Public propertyPath
Gets a string representing the path to the current folder.
(Inherited from DialogViewModel.)
Public propertyRootAndCurrentFileSystemObjects
Gets the currently root and current visible FileSystemInfoWrappers.
(Inherited from DialogViewModel.)
Public propertySelectedFileSystemObject
Gets the currently selected file or folder.
(Inherited from DialogViewModel.)
Public propertySelectedFilterName
Gets the FilterName of the currently applied filter.
Public propertySelectedLayout
Gets the selected LayoutConfigurationModel.
(Inherited from DialogViewModel.)
Top
Events
  NameDescription
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Top
See Also