C# 클래스 Nexus.UI.Controls.FileSystemTreeView

A tree view that allow browsing through a file system.
The tree view will browse into archives.
상속: FileSystemTreeViewBase
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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