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
Показать файл Открыть проект

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