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