The properties of System.Windows.Forms.TreeView are listed below. For a list of all members, see the TreeView Members list.
See Also: Inherited members from System.Windows.Forms.Control
override | BackColor | System.Drawing.Color. Documentation for this section has not yet been entered. |
override | BackgroundImage | System.Drawing.Image.
Gets or set the background image for the System.Windows.Forms.TreeView control. |
override | BackgroundImageLayout | ImageLayout.
Gets or sets the layout of the background image for the System.Windows.Forms.TreeView control. |
BorderStyle | BorderStyle.
Gets or sets the border style of the tree view control. | |
CheckBoxes | bool.
Gets or sets a value indicating whether check boxes are displayed next to the tree nodes in the tree view control. | |
DrawMode | TreeViewDrawMode.
Gets or sets the mode in which the control is drawn. | |
override | ForeColor | System.Drawing.Color.
The current foreground color for this control, which is the color the control uses to draw its text. |
FullRowSelect | bool.
Gets or sets a value indicating whether the selection highlight spans the width of the tree view control. | |
HideSelection | bool.
Gets or sets a value indicating whether the selected tree node remains highlighted even when the tree view has lost the focus. | |
HotTracking | bool.
Gets or sets a value indicating whether a tree node label takes on the appearance of a hyperlink as the mouse pointer passes over it. | |
ImageIndex | int.
Gets or sets the image-list index value of the default image that is displayed by the tree nodes. | |
ImageKey | string.
Gets or sets the key of the default image for each node in the System.Windows.Forms.TreeView control when it is in an unselected state. | |
ImageList | ImageList.
Gets or sets the System.Windows.Forms.ImageList that contains the System.Drawing.Image objects that are used by the tree nodes. | |
Indent | int.
Gets or sets the distance to indent each child tree node level. | |
ItemHeight | int.
Gets or sets the height of each tree node in the tree view control. | |
LabelEdit | bool.
Gets or sets a value indicating whether the label text of the tree nodes can be edited. | |
LineColor | System.Drawing.Color.
Gets or sets the color of the lines connecting the nodes of the System.Windows.Forms.TreeView control. | |
[read-only] | Nodes | TreeNodeCollection.
Gets the collection of tree nodes that are assigned to the tree view control. |
Padding | Padding.
Gets or sets the spacing between the System.Windows.Forms.TreeView control's contents and its edges. | |
PathSeparator | string.
Gets or sets the delimiter string that the tree node path uses. | |
RightToLeftLayout | bool.
Gets or sets a value that indicates whether the System.Windows.Forms.TreeView should be laid out from right-to-left. | |
Scrollable | bool.
Gets or sets a value indicating whether the tree view control displays scroll bars when they are needed. | |
SelectedImageIndex | int.
Gets or sets the image list index value of the image that is displayed when a tree node is selected. | |
SelectedImageKey | string.
Gets or sets the key of the default image shown when a System.Windows.Forms.TreeNode is in a selected state. | |
SelectedNode | TreeNode.
Gets or sets the tree node that is currently selected in the tree view control. | |
ShowLines | bool.
Gets or sets a value indicating whether lines are drawn between tree nodes in the tree view control. | |
ShowNodeToolTips | bool.
Gets or sets a value indicating ToolTips are shown when the mouse pointer hovers over a System.Windows.Forms.TreeNode. | |
ShowPlusMinus | bool.
Gets or sets a value indicating whether plus-sign (+) and minus-sign (-) buttons are displayed next to tree nodes that contain child tree nodes. | |
ShowRootLines | bool.
Gets or sets a value indicating whether lines are drawn between the tree nodes that are at the root of the tree view. | |
Sorted | bool.
Gets or sets a value indicating whether the tree nodes in the tree view are sorted. | |
StateImageList | ImageList.
Gets or sets the image list that is used to indicate the state of the System.Windows.Forms.TreeView and its nodes. | |
override | Text | string.
Gets or sets the text of the System.Windows.Forms.TreeView. |
TopNode | TreeNode.
Gets or sets the first fully-visible tree node in the tree view control. | |
TreeViewNodeSorter | IComparer.
Gets or sets the implementation of IComparer to perform a custom sort of the System.Windows.Forms.TreeView nodes. | |
[read-only] | VisibleCount | int.
Gets the number of tree nodes that can be fully visible in the tree view control. |
[read-only] override | CreateParams | CreateParams.
Overrides Control.CreateParams. |
[read-only] override | DefaultSize | System.Drawing.Size. Documentation for this section has not yet been entered. |
override | DoubleBuffered | bool.
Gets or sets a value indicating whether the control should redraw its surface using a secondary buffer. The TreeView.DoubleBuffered property does not affect the System.Windows.Forms.TreeView control. |