Export (0) Print
Expand All

TreeNode Properties

The TreeNode type exposes the following members.

  NameDescription
Public property Supported by the .NET Compact Framework BackColor Gets or sets the background color of the tree node.
Public property Bounds Gets the bounds of the tree node.
Public property Supported by the .NET Compact Framework Checked Gets or sets a value indicating whether the tree node is in a checked state.
Public property ContextMenu Gets the shortcut menu associated with this tree node.
Public property ContextMenuStrip Gets or sets the shortcut menu associated with this tree node.
Public property FirstNode Gets the first child tree node in the tree node collection.
Public property Supported by the .NET Compact Framework ForeColor Gets or sets the foreground color of the tree node.
Public property Supported by the .NET Compact Framework FullPath Gets the path from the root tree node to the current tree node.
Public property Supported by the .NET Compact Framework Handle Gets the handle of the tree node.
Public property Supported by the .NET Compact Framework ImageIndex Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.
Public property ImageKey Gets or sets the key for the image associated with this tree node when the node is in an unselected state.
Public property Supported by the .NET Compact Framework Index Gets the position of the tree node in the tree node collection.
Public property IsEditing Gets a value indicating whether the tree node is in an editable state.
Public property Supported by the .NET Compact Framework IsExpanded Gets a value indicating whether the tree node is in the expanded state.
Public property Supported by the .NET Compact Framework IsSelected Gets a value indicating whether the tree node is in the selected state.
Public property IsVisible Gets a value indicating whether the tree node is visible or partially visible.
Public property LastNode Gets the last child tree node.
Public property Level Gets the zero-based depth of the tree node in the TreeView control.
Public property Name Gets or sets the name of the tree node.
Public property NextNode Gets the next sibling tree node.
Public property NextVisibleNode Gets the next visible tree node.
Public property NodeFont Gets or sets the font used to display the text on the tree node's label.
Public property Supported by the .NET Compact Framework Nodes Gets the collection of TreeNode objects assigned to the current tree node.
Public property Supported by the .NET Compact Framework Parent Gets the parent tree node of the current tree node.
Public property PrevNode Gets the previous sibling tree node.
Public property PrevVisibleNode Gets the previous visible tree node.
Public property Supported by the .NET Compact Framework SelectedImageIndex Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state.
Public property SelectedImageKey Gets or sets the key of the image displayed in the tree node when it is in a selected state.
Public property StateImageIndex Gets or sets the index of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.
Public property StateImageKey Gets or sets the key of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.
Public property Supported by the .NET Compact Framework Tag Gets or sets the object that contains data about the tree node.
Public property Supported by the .NET Compact Framework Text Gets or sets the text displayed in the label of the tree node.
Public property ToolTipText Gets or sets the text that appears when the mouse pointer hovers over a TreeNode.
Public property Supported by the .NET Compact Framework TreeView Gets the parent tree view that the tree node is assigned to.
Top

Community Additions

ADD
Show:
© 2014 Microsoft