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

A tree view that represnts, and allow for the management of, a virtual file system.
The file system can be comprised of a mix real and virtual files and directories, all arranged in a virtual file structure.
상속: FileSystemTreeViewBase
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddVirtualNode ( FileSystemTreeNode p_tndRoot, string p_strName ) : FileSystemTreeNode

Adds a virtual file system item to the tree view.

AddVirtualPath ( FileSystemTreeNode p_tndRoot, VirtualFileSystemItem p_vfiPath ) : void

Addes the specified virtual path to the source tree.

AddVirtualPaths ( FileSystemTreeNode p_tndRoot, VirtualFileSystemItem p_vfiPaths ) : void

Addes the specified virtual paths to the source tree.

VirtualFileSystemTreeView ( ) : System

The default constructor.

보호된 메소드들

메소드 설명
OnDragDrop ( DragEventArgs e ) : void

Raises the Control.DragDrop.

This handles adding the dropped file/folder to the source tree.

OnDragOver ( DragEventArgs e ) : void

Raises the Control.DragEnter.

This determines if the item being dragged can be dropped at the current location.

OnItemDrag ( ItemDragEventArgs e ) : void

Raises the TreeView.ItemDrag event.

This starts the drag operation of item in the tree view.

OnQueryContinueDrag ( System.Windows.Forms.QueryContinueDragEventArgs e ) : void

Raises the Control.QueryContinueDrag event.

This aborts the drag operation of an item from the source tree view if the action is interrupted or stopped over something other than the virtual file system tree view.

메소드 상세

AddVirtualNode() 공개 메소드

Adds a virtual file system item to the tree view.
public AddVirtualNode ( FileSystemTreeNode p_tndRoot, string p_strName ) : FileSystemTreeNode
p_tndRoot FileSystemTreeNode The node to which to add the new item.
p_strName string The name of the new virtual item to add.
리턴 FileSystemTreeNode

AddVirtualPath() 공개 메소드

Addes the specified virtual path to the source tree.
public AddVirtualPath ( FileSystemTreeNode p_tndRoot, VirtualFileSystemItem p_vfiPath ) : void
p_tndRoot FileSystemTreeNode The node to which to add the path.
p_vfiPath VirtualFileSystemItem The path to add to the source tree.
리턴 void

AddVirtualPaths() 공개 메소드

Addes the specified virtual paths to the source tree.
public AddVirtualPaths ( FileSystemTreeNode p_tndRoot, VirtualFileSystemItem p_vfiPaths ) : void
p_tndRoot FileSystemTreeNode The node to which to add the paths.
p_vfiPaths VirtualFileSystemItem The paths to add to the source tree.
리턴 void

OnDragDrop() 보호된 메소드

Raises the Control.DragDrop.
This handles adding the dropped file/folder to the source tree.
protected OnDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs A that describes the event arguments.
리턴 void

OnDragOver() 보호된 메소드

Raises the Control.DragEnter.
This determines if the item being dragged can be dropped at the current location.
protected OnDragOver ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs A that describes the event arguments.
리턴 void

OnItemDrag() 보호된 메소드

Raises the TreeView.ItemDrag event.
This starts the drag operation of item in the tree view.
protected OnItemDrag ( ItemDragEventArgs e ) : void
e System.Windows.Forms.ItemDragEventArgs A that describes the event arguments.
리턴 void

OnQueryContinueDrag() 보호된 메소드

Raises the Control.QueryContinueDrag event.
This aborts the drag operation of an item from the source tree view if the action is interrupted or stopped over something other than the virtual file system tree view.
protected OnQueryContinueDrag ( System.Windows.Forms.QueryContinueDragEventArgs e ) : void
e System.Windows.Forms.QueryContinueDragEventArgs A that describes the event arguments.
리턴 void

VirtualFileSystemTreeView() 공개 메소드

The default constructor.
public VirtualFileSystemTreeView ( ) : System
리턴 System