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

Control used for the navigation part of the RadOpenFileDialog, RadSaveFileDialog and RadOpenFolderDialog

Definition

Namespace:Telerik.Windows.Controls.FileDialogs

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

C#
[TelerikToolboxCategory("File Dialogs")]
public sealed class ExplorerControl : Control

Inheritance: objectExplorerControl

Constructors

Initializes a new instance of the ExplorerControl class.

C#
public ExplorerControl()

Fields

CanUserRenameProperty

DependencyProperty

Identifies the CanUserRename dependency property.

C#
public static readonly DependencyProperty CanUserRenameProperty

Identifies the CurrentDirectoryPath dependency property.

C#
public static readonly DependencyProperty CurrentDirectoryPathProperty

CustomPlacesPathsProperty

DependencyProperty

Identifies the CustomPlacesPaths dependency property.

C#
public static readonly DependencyProperty CustomPlacesPathsProperty

DragDropBehaviorProperty

DependencyProperty

Identifies the DragDropBehavior dependency property.

C#
public static readonly DependencyProperty DragDropBehaviorProperty

Identifies the ExpandToCurrentDirectory dependency property.

C#
public static readonly DependencyProperty ExpandToCurrentDirectoryProperty

FilterDescriptorsProperty

DependencyProperty

Identifies the FilterDescriptors dependency property.

C#
public static readonly DependencyProperty FilterDescriptorsProperty

FilterIndexProperty

DependencyProperty

Identifies the FilterIndex dependency property.

C#
public static readonly DependencyProperty FilterIndexProperty

FilterProperty

DependencyProperty

Identifies the Filter dependency property.

C#
public static readonly DependencyProperty FilterProperty

IsDragDropEnabledProperty

DependencyProperty

Identifies the IsDragDropEnabled dependency property.

C#
public static readonly DependencyProperty IsDragDropEnabledProperty

IsFolderBrowserProperty

DependencyProperty

Identifies the IsFolderBrowser dependency property.

C#
public static readonly DependencyProperty IsFolderBrowserProperty

LayoutProperty

DependencyProperty

Identifies the Layout dependency property.

C#
public static readonly DependencyProperty LayoutProperty

Identifies the LoadDrivesInBackground dependency property.

C#
public static readonly DependencyProperty LoadDrivesInBackgroundProperty

MultiselectProperty

DependencyProperty

Identifies the Multiselect dependency property.

C#
public static readonly DependencyProperty MultiselectProperty

SelectedFileNameProperty

DependencyProperty

Identifies the SelectedFileName dependency property.

C#
public static readonly DependencyProperty SelectedFileNameProperty

SelectedFileNamesProperty

DependencyProperty

Identifies the SelectedFileNames dependency property.

C#
public static readonly DependencyProperty SelectedFileNamesProperty

Identifies the SelectedSafeFileNames dependency property.

C#
public static readonly DependencyProperty SelectedSafeFileNamesProperty

ShowHiddenFilesProperty

DependencyProperty

Identifies the ShowHiddenFiles dependency property.

C#
public static readonly DependencyProperty ShowHiddenFilesProperty

Properties

Gets or sets a value indicating whether the user can rename file or folders via mouse click or keyboard F2 press in main pane.

C#
public bool CanUserRename { get; set; }

Gets or sets a value indicating the path of the current directory in this ExplorerControl instance.

C#
public string CurrentDirectoryPath { get; set; }

Gets or sets the paths to the custom places navigation tree view.

C#
public IEnumerable<string> CustomPlacesPaths { get; set; }

Gets or sets the FileBrowserDragDropBehavior for this ExplorerControl.

C#
public FileBrowserDragDropBehavior DragDropBehavior { get; set; }

Gets or sets a value indicating whether the main navigation pane expands and brings into view the current directory.

C#
public bool ExpandToCurrentDirectory { get; set; }

Gets or sets the filter string that describes the list of extensions to filter by. It has effect only when IsFolderBrowser is False.

C#
public string Filter { get; set; }

Gets the list of the FileFilterDescriptor specified by the Filter property. It has effect only when IsFolderBrowser is False.

C#
public IList<FileFilterDescriptor> FilterDescriptors { get; }

Gets or sets a value indicating the current filter index from the list of filter strings specified by the Filter property. It has effect only when IsFolderBrowser is False.

C#
public int FilterIndex { get; set; }

Gets or sets a value indicating whether this ExplorerControl allows drag-drop operations.

C#
public bool IsDragDropEnabled { get; set; }

Gets or sets a value indicating whether this ExplorerControl instance is used for directories selection or both directories and files.

C#
public bool IsFolderBrowser { get; set; }

Gets or sets the current LayoutType of the Main pane.

C#
public LayoutType Layout { get; set; }

Gets or sets a value indicating whether the control loads the drives under 'This PC ' node in background thread. Could be used in scenarios when some drives are expected to load slower than normal.

C#
public bool LoadDrivesInBackground { get; set; }

Gets or sets a value indicating whether multiple selection of files or folders is allowed.

C#
public bool Multiselect { get; set; }

Gets the full path of the currently selected file or directory.

C#
public string SelectedFileName { get; }

Gets the list of full paths of the currently selected files and / or folders.

C#
public IList<string> SelectedFileNames { get; }

Gets the list of names of the currently selected files and / or folders.

C#
public IList<string> SelectedSafeFileNames { get; }

Gets or sets a boolean value indicating whether hidden files and folders should be visible in the Explorer.

C#
public bool ShowHiddenFiles { get; set; }

Gets or sets a value indicating whether the dialog shows network computers in the navigation tree.

C#
public bool ShowNetworkLocations { get; set; }

Methods

C#
public override void OnApplyTemplate()
C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs
C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs
C#
public void ResetTheme()

Events

Occurs when the current folder is about to change.

C#
public event EventHandler<DirectoryNavigatingEventArgs> DirectoryNavigating

Occurs when the DirectoryInfo wrapper is about to be created.

C#
public event EventHandler<DirectoryRequestingEventArgs> DirectoryRequesting

Occurs when Exception during File (or Directory) creation / observation / modification is raised.

C#
public event EventHandler<FileBrowserExceptionRaisedEventArgs> ExceptionRaised

Occurs when a file or directory is about to enter edit mode.

C#
public event EventHandler<RenamingEventArgs> Renaming

Occurs when context menu is about to open.

C#
public event EventHandler<ContextMenuOpeningEventArgs> ShellContextMenuOpening