ExplorerControl
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:
[TelerikToolboxCategory("File Dialogs")]
public sealed class ExplorerControl : Control
Inheritance: objectExplorerControl
Constructors
Initializes a new instance of the ExplorerControl class.
public ExplorerControl()
Fields
CanUserRenameProperty
DependencyProperty
Identifies the CanUserRename dependency property.
public static readonly DependencyProperty CanUserRenameProperty
CurrentDirectoryPathProperty
DependencyProperty
Identifies the CurrentDirectoryPath dependency property.
public static readonly DependencyProperty CurrentDirectoryPathProperty
CustomPlacesPathsProperty
DependencyProperty
Identifies the CustomPlacesPaths dependency property.
public static readonly DependencyProperty CustomPlacesPathsProperty
DragDropBehaviorProperty
DependencyProperty
Identifies the DragDropBehavior dependency property.
public static readonly DependencyProperty DragDropBehaviorProperty
ExpandToCurrentDirectoryProperty
DependencyProperty
Identifies the ExpandToCurrentDirectory dependency property.
public static readonly DependencyProperty ExpandToCurrentDirectoryProperty
FilterDescriptorsProperty
DependencyProperty
Identifies the FilterDescriptors dependency property.
public static readonly DependencyProperty FilterDescriptorsProperty
FilterIndexProperty
DependencyProperty
Identifies the FilterIndex dependency property.
public static readonly DependencyProperty FilterIndexProperty
FilterProperty
DependencyProperty
Identifies the Filter dependency property.
public static readonly DependencyProperty FilterProperty
IsDragDropEnabledProperty
DependencyProperty
Identifies the IsDragDropEnabled dependency property.
public static readonly DependencyProperty IsDragDropEnabledProperty
IsFolderBrowserProperty
DependencyProperty
Identifies the IsFolderBrowser dependency property.
public static readonly DependencyProperty IsFolderBrowserProperty
LayoutProperty
DependencyProperty
Identifies the Layout dependency property.
public static readonly DependencyProperty LayoutProperty
LoadDrivesInBackgroundProperty
DependencyProperty
Identifies the LoadDrivesInBackground dependency property.
public static readonly DependencyProperty LoadDrivesInBackgroundProperty
MultiselectProperty
DependencyProperty
Identifies the Multiselect dependency property.
public static readonly DependencyProperty MultiselectProperty
SelectedFileNameProperty
DependencyProperty
Identifies the SelectedFileName dependency property.
public static readonly DependencyProperty SelectedFileNameProperty
SelectedFileNamesProperty
DependencyProperty
Identifies the SelectedFileNames dependency property.
public static readonly DependencyProperty SelectedFileNamesProperty
SelectedSafeFileNamesProperty
DependencyProperty
Identifies the SelectedSafeFileNames dependency property.
public static readonly DependencyProperty SelectedSafeFileNamesProperty
ShowHiddenFilesProperty
DependencyProperty
Identifies the ShowHiddenFiles dependency property.
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.
public bool CanUserRename { get; set; }
Gets or sets a value indicating the path of the current directory in this ExplorerControl instance.
public string CurrentDirectoryPath { get; set; }
Gets or sets the paths to the custom places navigation tree view.
public IEnumerable<string> CustomPlacesPaths { get; set; }
Gets or sets the FileBrowserDragDropBehavior for this ExplorerControl.
public FileBrowserDragDropBehavior DragDropBehavior { get; set; }
Gets or sets a value indicating whether the main navigation pane expands and brings into view the current directory.
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.
public string Filter { get; set; }
Gets the list of the FileFilterDescriptor specified by the Filter property. It has effect only when IsFolderBrowser is False.
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.
public int FilterIndex { get; set; }
Gets or sets a value indicating whether this ExplorerControl allows drag-drop operations.
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.
public bool IsFolderBrowser { get; set; }
Gets or sets the current LayoutType of the Main pane.
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.
public bool LoadDrivesInBackground { get; set; }
Gets or sets a value indicating whether multiple selection of files or folders is allowed.
public bool Multiselect { get; set; }
Gets the full path of the currently selected file or directory.
public string SelectedFileName { get; }
Gets the list of full paths of the currently selected files and / or folders.
public IList<string> SelectedFileNames { get; }
Gets the list of names of the currently selected files and / or folders.
public IList<string> SelectedSafeFileNames { get; }
Gets or sets a boolean value indicating whether hidden files and folders should be visible in the Explorer.
public bool ShowHiddenFiles { get; set; }
Gets or sets a value indicating whether the dialog shows network computers in the navigation tree.
public bool ShowNetworkLocations { get; set; }
Methods
public override void OnApplyTemplate()
protected override void OnKeyDown(KeyEventArgs e)
public void ResetTheme()
Events
Occurs when the current folder is about to change.
public event EventHandler<DirectoryNavigatingEventArgs> DirectoryNavigating
Occurs when the DirectoryInfo wrapper is about to be created.
public event EventHandler<DirectoryRequestingEventArgs> DirectoryRequesting
Occurs when Exception during File (or Directory) creation / observation / modification is raised.
public event EventHandler<FileBrowserExceptionRaisedEventArgs> ExceptionRaised
Occurs when a file or directory is about to enter edit mode.
public event EventHandler<RenamingEventArgs> Renaming
Occurs when context menu is about to open.
public event EventHandler<ContextMenuOpeningEventArgs> ShellContextMenuOpening