Skip to content

TreeViewNode Object Members

See Also

TreeViewNode Overview


TreeViewNode Object Members

Public Methods

Method Description
Public Method EnsureVisible Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
Public Method SetMarkupToolTip Set MarkUp tooltip if it is enabled.

Public Properties

Property Description
Public Property BackColor Gets or sets the back color of the node.
Public Property Bold Gets or sets whether the text for this node is displayed in bold type font.
Public Property Checked Gets or sets a value indicating whether the tree node is in a checked state.
Public Property Child Returns a reference to the first child of a TreeViewNode object in a TreeView control.
Public Property Children Returns the number of child TreeViewNode objects contained in a TreeViewNode object.
Public Property Expanded Gets a value indicating whether the tree node is in the expanded state.
Public Property ExpandedOnce Specifies that the node has been expanded at least once.
Public Property FirstSibling Returns a reference to the first sibling of a Node object in a TreeView control.
Public Property ForeColor The current foreground color for text in this node.
Public Property FullPath Gets the path from the root tree node to the current tree node.
Public Property HasChildren Specifies whether to show a plus sign for a node even if no children have been added.
Public Property Image Gets or sets the numeric identifier of the icon used by the node.
Public Property Index Gets the position of the tree node in the tree node collection.
Public Property Key Returns or sets a string that uniquely identifies a member in a collection.
Public Property LastSibling Returns a reference to the last sibling of a TreeViewNode object.
Public Property Next Gets the next sibling tree node.
Public Property Parent Gets the parent tree node of the current tree node.
Public Property Previous Gets the previous sibling tree node.
Public Property Root Returns a reference to the root TreeViewNode object of a selected Node.
Public Property Selected Gets a value indicating whether the tree node is in the selected state.
Public Property Sorted Gets or sets whether to sort all sub nodes for this node.
Public Property Tag Gets or sets the object that contains data about the tree node.
Public Property Text Gets or sets the text displayed in the label of the tree node.

See Also

TreeViewNode Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.