ShellTreeNode Methods |
The ShellTreeNode type exposes the following members.
Name | Description | |
---|---|---|
CreateFolder |
Creates a new Folder if the ShellListNode is a Folder;
may throw an Exception, see CreateDirectory(String) for the Exceptions that can occur
| |
GetChildNode |
Returns subnode with the given caption.
| |
GetDataObject |
Returns the Windows Shell IDataObject interface for this object wrapped into an instance of type DataObject.
| |
InvertCheckState |
This method inverts the CheckState of the ShellTreeNode
instance. If the Item was checked it's state will be set to unchecked.
If it was Grayed or UnChecked it will be Checked afterwards.
If the Item is not associated (contained) in a ShellTreeView or
the ShellTreeView has no ShellControlConnector assigned,
this method does nothing and returns immediately.
Furthermore the TreeView needs to have the CheckBoxes property
enabled.
| |
Refresh |
Refresh this ShellTreeNode.
| |
RefreshCheckState |
Refreshes the value of the CheckState CheckSate property.
| |
RefreshCheckState(ShellTreeNodeRefreshDirection) |
Refreshes the value of the CheckState property recursively for
the given direction.
| |
Rename(String) | Renames the file or folder that is referenced by this ShellTreeItem instance to the
new name given as a parameter. | |
Rename(String, Boolean) |
Renames the file or folder that is referenced by this ShellTreeItem instance to the new
name given as a parameter.
| |
SetIcon | Sets the icon. | |
Sort |
(Re-)Sorts the subnodes.
|