NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeNode Properties

The properties of the TreeNode class are listed below. For a complete list of TreeNode class members, see the TreeNode Members topic.

Public:

BackColor The background color of this node. If null, the color used will be the default color from the TreeView control that this node is attached to
Bounds The bounding rectangle for the node. The coordinates are relative to the upper left corner of the TreeView control.
Checked Indicates whether the node's checkbox is checked.
Extension Retrieves a filename extension to save this object's persistance data with.
FirstNode The first child node of this node.
ForeColor The foreground color of this node. If null, the color used will be the default color from the TreeView control that this node is attached to
FullPath Returns the full path of this node. The path consists of the labels of each of the nodes from the root to this node, each separated by the pathSeperator.
Handle The HTREEITEM handle associated with this node. If the handle has not yet been created, this will force handle creation.
ImageIndex The index of the image to be displayed when the node is in the unselected state. The image is contained in the ImageList referenced by the imageList property.
Index Returns the position of this node in relation to its siblings
IsEditing Specifies whether this node is being edited by the user.
IsExpanded Specifies whether this node is in the expanded state.
IsSelected Specifies whether this node is in the selected state.
IsVisible Specifies whether this node is visible.
LastNode The last child node of this node.
NextNode The next sibling node.
NextVisibleNode The next visible node. It may be a child, sibling, or a node from another branch.
NodeFont The font that will be used to draw this node If null, the font used will be the default font from the TreeView control that this node is attached to. NOTE: If the node font is larger than the default font from the TreeView control, then the node will be clipped.
Nodes [To be supplied.]
Parent Retrieves parent node.
PrevNode The previous sibling node.
PrevVisibleNode The next visible node. It may be a parent, sibling, or a node from another branch.
SelectedImageIndex The index of the image displayed when the node is in the selected state. The image is contained in the ImageList referenced by the imageList property.
Text The label text for the tree node
TreeView Return the TreeView control this node belongs to.

See Also

TreeNode Class | System.WinForms Namespace