Class ExplorerControl
Control used for the navigation part of the Rad
Inheritance
Namespace: Telerik.Windows.Controls.FileDialogs
Assembly: Telerik.Windows.Controls.FileDialogs.dll
Syntax
[TelerikToolboxCategory("File Dialogs")]
public sealed class ExplorerControl : Control, IThemable
Constructors
ExplorerControl()
Fields
CanUserRenameProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanUserRenameProperty
Field Value
System.
|
CurrentDirectoryPathProperty
Identifies the Current
Declaration
public static readonly DependencyProperty CurrentDirectoryPathProperty
Field Value
System.
|
CustomPlacesPathsProperty
Identifies the Custom
Declaration
public static readonly DependencyProperty CustomPlacesPathsProperty
Field Value
System.
|
DragDropBehaviorProperty
Identifies the Drag
Declaration
public static readonly DependencyProperty DragDropBehaviorProperty
Field Value
System.
|
ExpandToCurrentDirectoryProperty
Identifies the Expand
Declaration
public static readonly DependencyProperty ExpandToCurrentDirectoryProperty
Field Value
System.
|
FilterDescriptorsProperty
Identifies the Filter
Declaration
public static readonly DependencyProperty FilterDescriptorsProperty
Field Value
System.
|
FilterIndexProperty
Identifies the Filter
Declaration
public static readonly DependencyProperty FilterIndexProperty
Field Value
System.
|
FilterProperty
Identifies the Filter dependency property.
Declaration
public static readonly DependencyProperty FilterProperty
Field Value
System.
|
IsDragDropEnabledProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsDragDropEnabledProperty
Field Value
System.
|
IsFolderBrowserProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsFolderBrowserProperty
Field Value
System.
|
LayoutProperty
Identifies the Layout dependency property.
Declaration
public static readonly DependencyProperty LayoutProperty
Field Value
System.
|
LoadDrivesInBackgroundProperty
Identifies the Load
Declaration
public static readonly DependencyProperty LoadDrivesInBackgroundProperty
Field Value
System.
|
MultiselectProperty
Identifies the Multiselect dependency property.
Declaration
public static readonly DependencyProperty MultiselectProperty
Field Value
System.
|
SelectedFileNameProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedFileNameProperty
Field Value
System.
|
SelectedFileNamesProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedFileNamesProperty
Field Value
System.
|
SelectedSafeFileNamesProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedSafeFileNamesProperty
Field Value
System.
|
ShowHiddenFilesProperty
Identifies the Show
Declaration
public static readonly DependencyProperty ShowHiddenFilesProperty
Field Value
System.
|
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.
Declaration
public bool CanUserRename { get; set; }
Property Value
System.
|
CurrentDirectoryPath
Gets or sets a value indicating the path of the current directory in this Explorer
Declaration
public string CurrentDirectoryPath { get; set; }
Property Value
System.
|
CustomPlacesPaths
Gets or sets the paths to the custom places navigation tree view.
Declaration
public IEnumerable<string> CustomPlacesPaths { get; set; }
Property Value
System.
|
DragDropBehavior
Gets or sets the File
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
System.
|
Filter
Gets or sets the filter string that describes the list of extensions to filter by.
It has effect only when Is
Declaration
public string Filter { get; set; }
Property Value
System.
|
FilterDescriptors
Gets the list of the File
Declaration
public IList<FileFilterDescriptor> FilterDescriptors { get; }
Property Value
System.
|
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 Is
Declaration
public int FilterIndex { get; set; }
Property Value
System.
|
IsDragDropEnabled
Gets or sets a value indicating whether this Explorer
Declaration
public bool IsDragDropEnabled { get; set; }
Property Value
System.
|
IsFolderBrowser
Gets or sets a value indicating whether this Explorer
Declaration
public bool IsFolderBrowser { get; set; }
Property Value
System.
|
Layout
Gets or sets the current Layout
Declaration
public LayoutType Layout { get; set; }
Property Value
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.
Declaration
public bool LoadDrivesInBackground { get; set; }
Property Value
System.
|
Multiselect
Gets or sets a value indicating whether multiple selection of files or folders is allowed.
Declaration
public bool Multiselect { get; set; }
Property Value
System.
|
SelectedFileName
Gets the full path of the currently selected file or directory.
Declaration
public string SelectedFileName { get; }
Property Value
System.
|
SelectedFileNames
Gets the list of full paths of the currently selected files and / or folders.
Declaration
public IList<string> SelectedFileNames { get; }
Property Value
System.
|
SelectedSafeFileNames
Gets the list of names of the currently selected files and / or folders.
Declaration
public IList<string> SelectedSafeFileNames { get; }
Property Value
System.
|
ShowHiddenFiles
Gets or sets a boolean value indicating whether hidden files and folders should be visible in the Explorer.
Declaration
public bool ShowHiddenFiles { get; set; }
Property Value
System.
|
ShowNetworkLocations
Gets or sets a value indicating whether the dialog shows network computers in the navigation tree.
Declaration
public bool ShowNetworkLocations { get; set; }
Property Value
System.
|
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.
|
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.
|
ResetTheme()
Declaration
public void ResetTheme()
Events
DirectoryNavigating
DirectoryRequesting
Occurs when the DirectoryInfo wrapper is about to be created.
Declaration
public event EventHandler<DirectoryRequestingEventArgs> DirectoryRequesting
Event Type
System.
|
ExceptionRaised
Occurs when Exception during File (or Directory) creation / observation / modification is raised.
Declaration
public event EventHandler<FileBrowserExceptionRaisedEventArgs> ExceptionRaised
Event Type
System.
|
Renaming
Occurs when a file or directory is about to enter edit mode.
Declaration
public event EventHandler<RenamingEventArgs> Renaming
Event Type
System.
|
ShellContextMenuOpening
Occurs when context menu is about to open.
Declaration
public event EventHandler<ContextMenuOpeningEventArgs> ShellContextMenuOpening
Event Type
System.
|