Class ExplorerControl
Control used for the navigation part of the Rad
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ExplorerControl : UserControl, IViewModelChangedListener, IThemeChangeListener
Constructors
ExplorerControl()
Declaration
public ExplorerControl()
Properties
ControlThemeClassName
Declaration
public string ControlThemeClassName { get; }
Property Value
System.
|
Implements
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.
|
CustomPlacesTreeNode
EditingOptions
Gets or sets how the files and folders in the Explorer
Declaration
public EditingOptions EditingOptions { 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.
|
FileBrowserListView
Declaration
public FileBrowserListView FileBrowserListView { get; }
Property Value
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.
|
LayoutType
Gets or sets the current Layout
Declaration
public LayoutType LayoutType { get; set; }
Property Value
MainNavigationTreeView
MainNavigationTreeViewProportionalWidth
MinFileBrowserListViewWidth
Gets or sets the minimum width for File
Declaration
public int MinFileBrowserListViewWidth { get; set; }
Property Value
System.
|
MinNavigationTreeViewWidth
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.
|
PathNavigationBreadCrumb
SearchTextBox
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.
|
ShowSystemCustomPlaces
Gets or sets a value indicating whether the QuickAccess/Favorites items from the Windows FileExplorer will be shown as child nodes in the Custom
Declaration
public bool ShowSystemCustomPlaces { get; set; }
Property Value
System.
|
SizeMode
Gets or sets a value indicating how the Main
Declaration
public ExplorerControlSizeMode SizeMode { get; set; }
Property Value
ThemeName
Declaration
public string ThemeName { get; set; }
Property Value
System.
|
ViewModel
ViewModelChangedListeners
Declaration
public IList<IViewModelChangedListener> ViewModelChangedListeners { get; set; }
Property Value
System.
|
Methods
AddCustomPlacesNode(String, Image, IList<String>)
Adds a new custom places node to the Main
Declaration
public CustomPlacesFileBrowserTreeNode AddCustomPlacesNode(string nodeName, Image nodeImage, IList<string> paths)
Parameters
System. The name of custom places node. |
System. The image of custom places node. |
System. The list of paths that will be displayed as children of the newly created node. |
Returns
AddSystemCustomPlaces()
Declaration
protected virtual void AddSystemCustomPlaces()
CreateCustomPlacesNode()
Declaration
protected virtual CustomPlacesFileBrowserTreeNode CreateCustomPlacesNode()
Returns
CreateTreeNode(DirectoryBaseWrapper)
Declaration
public FileBrowserTreeNode CreateTreeNode(DirectoryBaseWrapper dir)
Parameters
Returns
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System. true if managed resources should be disposed; otherwise, false. |
GetControlsHeightForCurrentTheme(String, out Boolean)
Declaration
protected virtual int GetControlsHeightForCurrentTheme(string themeName, out bool hideButtonsFillAndBorder)
Parameters
System.
|
System.
|
Returns
System.
|
GetDirectoryInfoWrappersFromPaths(IEnumerable<String>)
Declaration
public List<DirectoryInfoWrapper> GetDirectoryInfoWrappersFromPaths(IEnumerable<string> paths)
Parameters
System.
|
Returns
System.
|
GetLayoutTypeToIconConverter()
Declaration
protected virtual LayoutTypeToIconConverter GetLayoutTypeToIconConverter()
Returns
NotifyViewModelListeners(DialogViewModel)
Declaration
protected void NotifyViewModelListeners(DialogViewModel viewModel)
Parameters
Dialog
|
OnCurrentDirectoryPathChanged()
Declaration
protected virtual void OnCurrentDirectoryPathChanged()
OnFileDirectoryChanged(Action)
Declaration
public void OnFileDirectoryChanged(Action action)
Parameters
System.
|
OnFilterChanged()
Declaration
protected virtual void OnFilterChanged()
OnFilterIndexChanged()
Declaration
protected virtual void OnFilterIndexChanged()
OnIsDragDropEnabledPropertyChanged()
Declaration
protected virtual void OnIsDragDropEnabledPropertyChanged()
OnLayoutChanged()
Declaration
protected virtual void OnLayoutChanged()
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.
|
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.
|
OnMultiSelectChanged()
Declaration
protected virtual void OnMultiSelectChanged()
OnShowHiddenFilesChanged()
Declaration
protected virtual void OnShowHiddenFilesChanged()
OnSizeChanged(EventArgs)
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
System.
|
OnThemeChanged(ThemeChangedEventArgs)
Declaration
public void OnThemeChanged(ThemeChangedEventArgs e)
Parameters
Implements
OnViewModelChanged(DialogViewModel)
Declaration
protected virtual void OnViewModelChanged(DialogViewModel viewModel)
Parameters
Dialog
|
SetupControlsForTheme()
Declaration
protected virtual void SetupControlsForTheme()
SetupControlsForTheme(String)
Declaration
protected virtual void SetupControlsForTheme(string themeName)
Parameters
System.
|
SetupViewModelListeners()
Declaration
protected void SetupViewModelListeners()
SetViewModel(DialogViewModel)
Declaration
public void SetViewModel(DialogViewModel viewModel)
Parameters
Dialog
|
Implements
WireEvents()
Declaration
protected virtual void WireEvents()
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.
|
ShellContextMenuOpening
Occurs when context menu is about to open.
Declaration
public event EventHandler<ContextMenuOpeningEventArgs> ShellContextMenuOpening
Event Type
System.
|