C# Класс Nexus.UI.Controls.FileSystemTreeView

A tree view that allow browsing through a file system.
The tree view will browse into archives.
Наследование: FileSystemTreeViewBase
Показать файл Открыть проект

Открытые методы

Метод Описание
FileSystemTreeView ( ) : System

The default constructor.

Защищенные методы

Метод Описание
LoadGrandChildren ( FileSystemTreeNode p_tndFolder ) : void

Loads the grand children of the given node.

OnAfterLabelEdit ( System.Windows.Forms.NodeLabelEditEventArgs e ) : void

Raise the TreeView.AfterLabelEdit event.

This sorts the newly renamed node.

OnBeforeExpand ( System.Windows.Forms.TreeViewCancelEventArgs e ) : void

Raises the TreeView.BeforeExpand event of the tree view.

This handles retrieving the sub-files and sub-folders to display in the tree view.

OnBeforeLabelEdit ( System.Windows.Forms.NodeLabelEditEventArgs e ) : void

Raise the TreeView.BeforeLabelEdit event.

This prevents drive nodes from being renamed.

SetNodeImage ( FileSystemTreeNode p_fsnItem ) : void

Sets the image of the given node.

ShouldLoadChildren ( FileSystemTreeNode p_fsnItem ) : bool

Determines if the children of the given node should be loaded.

Описание методов

FileSystemTreeView() публичный Метод

The default constructor.
public FileSystemTreeView ( ) : System
Результат System

LoadGrandChildren() защищенный Метод

Loads the grand children of the given node.
protected LoadGrandChildren ( FileSystemTreeNode p_tndFolder ) : void
p_tndFolder FileSystemTreeNode The node whose grand children are to be loaded.
Результат void

OnAfterLabelEdit() защищенный Метод

Raise the TreeView.AfterLabelEdit event.
This sorts the newly renamed node.
protected OnAfterLabelEdit ( System.Windows.Forms.NodeLabelEditEventArgs e ) : void
e System.Windows.Forms.NodeLabelEditEventArgs A describing the event arguments.
Результат void

OnBeforeExpand() защищенный Метод

Raises the TreeView.BeforeExpand event of the tree view.
This handles retrieving the sub-files and sub-folders to display in the tree view.
protected OnBeforeExpand ( System.Windows.Forms.TreeViewCancelEventArgs e ) : void
e System.Windows.Forms.TreeViewCancelEventArgs A that describes the event arguments.
Результат void

OnBeforeLabelEdit() защищенный Метод

Raise the TreeView.BeforeLabelEdit event.
This prevents drive nodes from being renamed.
protected OnBeforeLabelEdit ( System.Windows.Forms.NodeLabelEditEventArgs e ) : void
e System.Windows.Forms.NodeLabelEditEventArgs A describing the event arguments.
Результат void

SetNodeImage() защищенный Метод

Sets the image of the given node.
protected SetNodeImage ( FileSystemTreeNode p_fsnItem ) : void
p_fsnItem FileSystemTreeNode The node whose image shuld be set.
Результат void

ShouldLoadChildren() защищенный Метод

Determines if the children of the given node should be loaded.
protected ShouldLoadChildren ( FileSystemTreeNode p_fsnItem ) : bool
p_fsnItem FileSystemTreeNode The node for which it is to be determined if the children should be loaded.
Результат bool