TreeNode Properties

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubpropertyBackColor

Gets or sets the background color of the tree node.

System_CAPS_pubpropertyBounds

Gets the bounds of the tree node.

System_CAPS_pubpropertyChecked

Gets or sets a value indicating whether the tree node is in a checked state.

System_CAPS_pubpropertyContextMenu

Gets the shortcut menu that is associated with this tree node.

System_CAPS_pubpropertyContextMenuStrip

Gets or sets the shortcut menu associated with this tree node.

System_CAPS_pubpropertyFirstNode

Gets the first child tree node in the tree node collection.

System_CAPS_pubpropertyForeColor

Gets or sets the foreground color of the tree node.

System_CAPS_pubpropertyFullPath

Gets the path from the root tree node to the current tree node.

System_CAPS_pubpropertyHandle

Gets the handle of the tree node.

System_CAPS_pubpropertyImageIndex

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

System_CAPS_pubpropertyImageKey

Gets or sets the key for the image associated with this tree node when the node is in an unselected state.

System_CAPS_pubpropertyIndex

Gets the position of the tree node in the tree node collection.

System_CAPS_pubpropertyIsEditing

Gets a value indicating whether the tree node is in an editable state.

System_CAPS_pubpropertyIsExpanded

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

System_CAPS_pubpropertyIsSelected

Gets a value indicating whether the tree node is in the selected state.

System_CAPS_pubpropertyIsVisible

Gets a value indicating whether the tree node is visible or partially visible.

System_CAPS_pubpropertyLastNode

Gets the last child tree node.

System_CAPS_pubpropertyLevel

Gets the zero-based depth of the tree node in the TreeView control.

System_CAPS_pubpropertyName

Gets or sets the name of the tree node.

System_CAPS_pubpropertyNextNode

Gets the next sibling tree node.

System_CAPS_pubpropertyNextVisibleNode

Gets the next visible tree node.

System_CAPS_pubpropertyNodeFont

Gets or sets the font that is used to display the text on the tree node label.

System_CAPS_pubpropertyNodes

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

System_CAPS_pubpropertyParent

Gets the parent tree node of the current tree node.

System_CAPS_pubpropertyPrevNode

Gets the previous sibling tree node.

System_CAPS_pubpropertyPrevVisibleNode

Gets the previous visible tree node.

System_CAPS_pubpropertySelectedImageIndex

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

System_CAPS_pubpropertySelectedImageKey

Gets or sets the key of the image displayed in the tree node when it is in a selected state.

System_CAPS_pubpropertyStateImageIndex

Gets or sets the index of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.

System_CAPS_pubpropertyStateImageKey

Gets or sets the key of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.

System_CAPS_pubpropertyTag

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

System_CAPS_pubpropertyText

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

System_CAPS_pubpropertyToolTipText

Gets or sets the text that appears when the mouse pointer hovers over a TreeNode.

System_CAPS_pubpropertyTreeView

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

Return to top
Show: