Click or drag to resize
OpenFileDialogViewModel Class
Provides a view model for setup and configuration of RadOpenFileDialog.
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 OpenFileDialogViewModel : FileDialogViewModel, 
	IMultiSelectable

The OpenFileDialogViewModel type exposes the following members.

Constructors
  NameDescription
Public methodOpenFileDialogViewModel
Initializes a new instance of the OpenFileDialogViewModel class.
Top
Methods
  NameDescription
Protected methodCanExecuteAccept
Defines the method that determines whether the accept command can execute in its current state.
(Overrides DialogViewModelCanExecuteAccept.)
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.
(Inherited from FileDialogViewModel.)
Protected methodInvokeSelectedFileSystemObjects
Execute logic when accept is executed for the selected FileSystemInfoWrappers.
(Overrides FileDialogViewModelInvokeSelectedFileSystemObjects.)
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Overrides ViewModelBaseOnPropertyChanged(String).)
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.
(Overrides DialogViewModelResetSelection.)
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.
(Inherited from FileDialogViewModel.)
Public propertyDereferenceLinks
Gets or sets a value indicating whether a file dialog returns either the location of the file referenced by a shortcut or the location of the shortcut file.
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.
(Inherited from FileDialogViewModel.)
Public propertyFilterDescriptors
Gets or sets the list of FileFilterDescriptors described by the Filter property.
(Inherited from FileDialogViewModel.)
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.
(Inherited from FileDialogViewModel.)
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.
(Inherited from FileDialogViewModel.)
Public propertyIsSearchActive
SearchPane's IsSearchViewActive is OneWayToSource bound to IsSearchActive. This is the reason for the public modifier here.
(Inherited from FileDialogViewModel.)
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 propertyMultiselect
Gets or sets a value indicating whether multiple selection of files or folders is allowed.
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 propertyReadOnlyChecked
Gets or sets a value indicating whether the read-only check box is selected.
Public propertyRootAndCurrentFileSystemObjects
Gets the currently root and current visible FileSystemInfoWrappers.
(Inherited from DialogViewModel.)
Public propertySelectedFileSystemInfoWrappers
Gets a collection of selected FileSystemInfoWrappers.
Public propertySelectedFileSystemObject
Gets the currently selected file or folder.
(Inherited from DialogViewModel.)
Public propertySelectedFilterName
Gets the FilterName of the currently applied filter.
(Inherited from FileDialogViewModel.)
Public propertySelectedLayout
Gets the selected LayoutConfigurationModel.
(Inherited from DialogViewModel.)
Public propertyShowReadOnly
Gets or sets a value indicating whether the dialog contains a read-only check box.
Top
Events
  NameDescription
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Top
See Also