Export (0) Print
Expand All

TreeNode Properties

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

Public Properties

public propertyBackColor Gets or sets the background color of the tree node.
public propertyBounds Gets the bounds of the tree node.
public propertyChecked

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the tree node is in a checked state.
public propertyFirstNode Gets the first child tree node in the tree node collection.
public propertyForeColor Gets or sets the foreground color of the tree node.
public propertyFullPath

Supported by the .NET Compact Framework.

Gets the path from the root tree node to the current tree node.
public propertyHandle Gets the handle of the tree node.
public propertyImageIndex

Supported by the .NET Compact Framework.

Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.
public propertyIndex

Supported by the .NET Compact Framework.

Gets the position of the tree node in the tree node collection.
public propertyIsEditing Gets a value indicating whether the tree node is in an editable state.
public propertyIsExpanded

Supported by the .NET Compact Framework.

Gets a value indicating whether the tree node is in the expanded state.
public propertyIsSelected

Supported by the .NET Compact Framework.

Gets a value indicating whether the tree node is in the selected state.
public propertyIsVisible Gets a value indicating whether the tree node is visible.
public propertyLastNode Gets the last child tree node.
public propertyNextNode Gets the next sibling tree node.
public propertyNextVisibleNode Gets the next visible tree node.
public propertyNodeFont Gets or sets the font used to display the text on the tree node's label.
public propertyNodes

Supported by the .NET Compact Framework.

Gets the collection of TreeNode objects assigned to the current tree node.
public propertyParent

Supported by the .NET Compact Framework.

Gets the parent tree node of the current tree node.
public propertyPrevNode Gets the previous sibling tree node.
public propertyPrevVisibleNode Gets the previous visible tree node.
public propertySelectedImageIndex

Supported by the .NET Compact Framework.

Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state.
public propertyTag

Supported by the .NET Compact Framework.

Gets or sets the object that contains data about the tree node.
public propertyText

Supported by the .NET Compact Framework.

Gets or sets the text displayed in the label of the tree node.
public propertyTreeView

Supported by the .NET Compact Framework.

Gets the parent tree view that the tree node is assigned to.

See Also

TreeNode Class | System.Windows.Forms Namespace

Show:
© 2014 Microsoft