New to Telerik UI for WinFormsStart a free 30-day trial

Interface that provides information about current drilled directory and currently selected file or folder.

Definition

Namespace:Telerik.WinControls.FileDialogs

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public interface ICurrentDirectoryViewModel

Derived Classes: DialogViewModelFileDialogViewModelOpenFileDialogViewModelOpenFolderDialogViewModelSaveFileDialogViewModel

Properties

Gets the currently drilled directory.

C#
DirectoryBaseWrapper CurrentParentDirectory { get; }

Gets the currently selected file or folder.

C#
FileSystemInfoWrapper SelectedFileSystemObject { get; }

Methods

Creates new child folder of the CurrentParentDirectory

C#
bool CreateNewChildFolder()
Returns:

bool