ShellTreeNode Class |
Namespace: Jam.Shell
The ShellTreeNode type exposes the following members.
Name | Description | |
---|---|---|
ShellTreeNode(ItemIdList, String, ShellTreeNode, Boolean) |
Initializes a new instance of the ShellTreeNode class.
| |
ShellTreeNode(ItemIdList, String, ShellTreeNode, Boolean, Boolean) |
Initializes a new instance of the ShellTreeNode class.
|
Name | Description | |
---|---|---|
AbsoluteItemIdList |
Get the absolute ItemIdList of the item.
| |
Checked |
This property calls CheckState and
returns true only if the item is CheckState.Checked
and false if in CheckState.Grayed or CheckState.UnChecked.
| |
CheckState |
If the CheckBoxes property of the ShellTreeView is true
then this property can be used to get or set the check state.
If the value that is set changes the item's checkstate, and a ShellControlConnector is
assigned to the ShellTreeView the item is contained in, the SelectionList
will be updated accordingly.
| |
Cut |
Defines if the item's image should be shown ghosted or not.
| |
FullPath |
Use to get the full path of this item.
| |
HasChildren | true, if this ShellTreeNode has subfolders; otherwise false.
| |
IsEnumerable |
Gets a value indicating whether this instance is enumerable, i.e. if it's a folder and has or could have children.
| |
IsFolder | true if the current item is a folder; otherwise false.
| |
OverlayImage |
The index of the overlay image in the system image list that should be shown in front of the normal icon.
This property will only be set if the ShowOverlayIcons property of ShowOverlayIcons is set to true.
| |
Parent |
The parent ShellTreeNode, null if this is a root node.
| |
SpecialFolder |
SpecialFolder allows you to get the type of the currently listed folder.
| |
TreeView |
The ShellTreeView that contains this item.
|
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.
| |
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.
|