The ShellTreeView type exposes the following members.
Use this property to turn on or off drag support with the Windows Explorer.
Use this property to turn on or off drag and drop support with the Windows Explorer.(Overrides ControlAllowDrop.)
The delay in milliseconds after that a folder is expanded automatically during a drag and drop operation. A value of 0 disables the auto expand feature.
Enables the automatic refreshes of the control, e.g. when a file is added or deleted in the current directory.
The delay in milliseconds after that the control scrolls automatically during a drag and drop operation. A value of 0 disables the auto scroll feature.
A System.Drawing.Color that represents the background color of the control. The default is the value of the System.Windows.Forms.Control.DefaultBackColor property.(Overrides TreeViewBackColor.)
Specifies the delay between when a node is selected and when the handling of this change is processed.
Use this property to turn on or off the checkboxes for file and folder selection. The checkboxes will only work, if a ShellControlConnector instance has been assigned to the ShellControlConnector property of this component. It will automatically synchronize the selection state of the items in multiple shell controls linked together with this ShellControlConnector.
Use this property to display checkboxes for the control.
The ContextMenuStrip is converted to an ordinary ContextMenu. This makes it possible to merge your ContextMenuStrip with the Default ShellContextMenu provided by the system. The "Opening" and "Closing" events of the ContextMenuStrip will be raised if the ContextMenu "Popup"/"Collapse" event occurs. For menu items only the "Click" event is available. All other events are not available. All ToolStripMenuItems are converted, and ToolStripSeparators are recognized. The ShortCut Keys defined in a ToolStripMenuItem are not converted. If you would like to have the ShortCut-Keys, leave this Property null, instead set the ContextMenu property to your menu explicitly.
Copy mode allows you to control the behaviour when files or folders get dropped.
Contains an ImageList holding custom icons.
The value of the DrawMode property must always be TreeViewDrawMode.OwnerDrawAll. This is why the Property is reimplemented here. A different setting is ignored, and a debug message is shown.
Gets the zero-based index of the empty icon.
Specifies, whether filename are presented with file extensions or not. By default, this depends on the respective setting in Windows Explorer.
If FileSystemOnly is set to True, objects and virtual folders which do not have a file system path, will not be displayed. Exceptions are 'My Computer', 'Libraries' and 'Network'
The font used to display text in the control.(Overrides ControlFont.)
Gets or sets a value indicating whether the selected tree node remains highlighted even when the tree view has lost the focus.
Gets or sets a list of images.
Gets a value indicating whether the SelectedNode is in editing state.
Gets a value indicating whether the component is initialized.
The value this property is true between the calls BeginIniti() and EndInit() of the ISupportInitialize interface.
Gets or sets the height of each tree node in the tree view control.
Gets or sets a value indicating whether the label text of the tree nodes can be edited.
Set or get the ImageSize. True for LargeIcons, false for SmallIcons.
Configuration of the roots that are displayed in the ShellTreeView
Returns a collection containing all child ShellTreeNodes of this ShellTreeNode.
If set to true, the control will not fill automatically after it was created. The FullRefresh method must be called explicitly. Since filling shell control with the appropriate items is a costly operation, this property can be useful to prevent unnecessary refreshes of the control.
Defines the root folder of this ShellTreeView
Determines the root file system folder of a ShellTreeView.
Returns the first root element of the type ShellTreeNode of this shell treeview.
Gets or sets the tree node that is currently selected in the ShellTreeView control.
Use SelectedPath to get or set the path, which is currently selected in the ShellTreeView. If the currently selected path is not a file system folder, SelectedPath returns an empty string and you should use the SpecialFolder property to get the type of this path. If you`re looking for the path an operation was performed on (e.g. Drop), use the OperationPerformed event.
Returns the reference to the ShellChangeNotifier that is associated with this instance.
Indicates whether the Windows ShellContextMenu should be shown or not.
Connects this control to a ShellControlConnector component, which allows to synchronize several shell controls.
Activates/deactivates the internal drag drop handling of the component.
If set, compressed files an folders will be shown in that particular Color, if null have show normally
If set, encrypted files an folders will be shown in that particular color, show normally otherwise (if null).
If set to true, the Windows Explorer context menu will be shown, if the user right-clicks.
If set to true, messages boxes will be shown to the user for errors that occured. If set to false, errors will be handled as well, but no message will be shown to the user.
If set to true, files will be shown in the control. If set to false, files will not be visible in the control.
Is set to 'true', hidden elements will be shown too.
The ShowLines property cannot be set, if UseSystemStyles is set to true and the detected operating system is Windows Vista. This is to keep the look&feel consistent, ShowLines together with the Vista TreeView style does not look pretty.
If set to 'false', the Network Neighbourhood will be hidden.
If set to 'false', no overlay icons will be show, which improves the performance of the control.
If set to true, the recycly bin will be visible. If set to false, the recycle bin will be hidden.
Indicates whether lines are displayed between root nodes.
If set to to 'true', the shell context menu will be shown on top of the provided popup menu. If set to 'false', the shell context menu will be shown below the provided popup menu. The value true is currently not supported. The menu items will be shown correctly, however their Click event cannot be triggered.
SpecialFolder allows you to check, if the currently selected folder is a special folder (e.g. the Control Panel) or to make a special folder the selected folder. Use the SelectedPath property if you want to deal with file system folders.
Set this property to true if you want the component to utilize the default system font. It is also set to true if the UseSystemStyles property is set.
Use this property to turn on or off the usage of the system specific design, i.e. enable Vista visual styles of the explorer components.
The current version of the ShellBrowser.