The members of System.Windows.Forms.TreeView are listed below.
See Also: Inherited members from System.Windows.Forms.Control
TreeView() |
Initializes a new instance of the System.Windows.Forms.TreeView class. |
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. |
BeginUpdate()
| ||
CollapseAll()
| ||
EndUpdate()
| ||
ExpandAll()
| ||
GetNodeAt(System.Drawing.Point)
| ||
GetNodeAt(int, int)
| ||
GetNodeCount(bool)
| ||
HitTest(System.Drawing.Point)
| ||
HitTest(int, int)
| ||
Sort()
| ||
override | ToString()
|
AfterCheck |
Occurs after the tree node check box is checked. | |
AfterCollapse |
Occurs after the tree node is collapsed. | |
AfterExpand |
Occurs after the tree node is expanded. | |
AfterLabelEdit |
Occurs after the tree node label text is edited. | |
AfterSelect |
Occurs after the tree node is selected. | |
BackgroundImageChanged |
Occurs when the TreeView.BackgroundImage property changes. | |
BackgroundImageLayoutChanged |
Occurs when the TreeView.BackgroundImageLayout property changes. | |
BeforeCheck |
Occurs before the tree node check box is checked. | |
BeforeCollapse |
Occurs before the tree node is collapsed. | |
BeforeExpand |
Occurs before the tree node is expanded. | |
BeforeLabelEdit |
Occurs before the tree node label text is edited. | |
BeforeSelect |
Occurs before the tree node is selected. | |
DrawNode |
Occurs when a System.Windows.Forms.TreeView is drawn and the TreeView.DrawMode property is set to a System.Windows.Forms.TreeViewDrawMode value other than TreeViewDrawMode.Normal. | |
ItemDrag |
Occurs when the user begins dragging a node. | |
NodeMouseClick |
Occurs when the user clicks a System.Windows.Forms.TreeNode with the mouse. | |
NodeMouseDoubleClick |
Occurs when the user double-clicks a System.Windows.Forms.TreeNode with the mouse. | |
NodeMouseHover |
Occurs when the mouse hovers over a System.Windows.Forms.TreeNode. | |
PaddingChanged |
Occurs when the value of the TreeView.Padding property changes. | |
Paint |
Occurs when the System.Windows.Forms.TreeView is drawn. | |
RightToLeftLayoutChanged |
Occurs when the value of the TreeView.RightToLeftLayout property changes. | |
TextChanged |
Occurs when the TreeView.Text property changes. |