Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddPath ( FileSystemTreeNode p_tndRoot, string p_strFile ) : FileSystemTreeNode |
This adds a file/folder to the source file structure.
|
|
AddPath ( string p_strFile ) : void |
Adds the given file to the source tree.
|
|
AddPaths ( FileSystemTreeNode p_tndRoot, string p_strFileNames ) : void |
Addes the specified files to the source tree.
|
|
AddPaths ( string p_strFileNames ) : void |
Addes the specified files to the source tree.
|
|
FileSystemTreeViewBase ( ) : System |
The default constructor.
|
|
RemoveNodes ( IList |
Removes the specified nodes from the tree view. The user is asked to confirm the removal. |
|
SetSelectedNode ( string p_strPath ) : void |
Sets the selected node to the one specifide by the given path.
|
Method | Description | |
---|---|---|
FindNearestAncestor ( FileSystemTreeNode p_tndRoot, string p_strPath, Queue |
Finds the specified node, or the specified node's nearest ancestor if the specified node does not exist.
|
|
LoadChildren ( FileSystemTreeNode p_tndFolder ) : void |
Loads the children of the given node.
|
|
OnKeyDown ( |
Raises the Control.OnKeyDown event of the tree view. This makes the delete key remove the selected nodes. |
|
OnNodeAdded ( |
Raises the NodeAdded event.
|
|
OnNodeRemoved ( |
Raises the NodeRemoved event.
|
|
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.
|
public AddPath ( FileSystemTreeNode p_tndRoot, string p_strFile ) : FileSystemTreeNode | ||
p_tndRoot | FileSystemTreeNode | The node to which to add the file/folder. |
p_strFile | string | The path to add to the source file structure. |
return | FileSystemTreeNode |
public AddPath ( string p_strFile ) : void | ||
p_strFile | string | The file to add. |
return | void |
public AddPaths ( FileSystemTreeNode p_tndRoot, string p_strFileNames ) : void | ||
p_tndRoot | FileSystemTreeNode | The node to which to add the file/folder. |
p_strFileNames | string | The paths to add to the source tree. |
return | void |
public AddPaths ( string p_strFileNames ) : void | ||
p_strFileNames | string | The paths to add to the source tree. |
return | void |
protected FindNearestAncestor ( FileSystemTreeNode p_tndRoot, string p_strPath, Queue |
||
p_tndRoot | FileSystemTreeNode | The node under which to search for the specified node. |
p_strPath | string | The path to the node to be found. |
p_queMissingPath | Queue |
An out parameter that returns the path parts that were not found. |
return | FileSystemTreeNode |
protected LoadChildren ( FileSystemTreeNode p_tndFolder ) : void | ||
p_tndFolder | FileSystemTreeNode | The node whose children are to be loaded. |
return | void |
protected OnKeyDown ( |
||
e | A |
|
return | void |
protected OnNodeAdded ( |
||
e | A |
|
return | void |
protected OnNodeRemoved ( |
||
e | A |
|
return | void |
public RemoveNodes ( IList |
||
p_lstNodes | IList |
The nodes to remove. |
return | void |
protected SetNodeImage ( FileSystemTreeNode p_fsnItem ) : void | ||
p_fsnItem | FileSystemTreeNode | The node whose image shuld be set. |
return | void |
public SetSelectedNode ( string p_strPath ) : void | ||
p_strPath | string | The path to the node to be selected. |
return | void |
protected ShouldLoadChildren ( FileSystemTreeNode p_fsnItem ) : bool | ||
p_fsnItem | FileSystemTreeNode | The node for which it is to be determined if the children should be loaded. |
return | bool |