C# Class 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.
Inheritance: FileSystemTreeViewBase
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

AddVirtualNode() public méthode

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.
Résultat FileSystemTreeNode

AddVirtualPath() public méthode

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.
Résultat void

AddVirtualPaths() public méthode

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.
Résultat void

OnDragDrop() protected méthode

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.
Résultat void

OnDragOver() protected méthode

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.
Résultat void

OnItemDrag() protected méthode

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.
Résultat void

OnQueryContinueDrag() protected méthode

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.
Résultat void

VirtualFileSystemTreeView() public méthode

The default constructor.
public VirtualFileSystemTreeView ( ) : System
Résultat System