System.Windows.Forms.TreeViewDrawMode Enumeration

Defines constants that represent the ways a System.Windows.Forms.TreeView can be drawn.

Syntax

public enum TreeViewDrawMode

Remarks

This enumeration is used by the TreeView.DrawMode property to indicate whether the nodes or node-labels of a System.Windows.Forms.TreeView are owner-drawn. For more information, see the TreeView.DrawNode event.

Members

Member NameDescription
Normal

The System.Windows.Forms.TreeView is drawn by the operating system.

OwnerDrawAll

All elements of a System.Windows.Forms.TreeView node are drawn manually, including icons, checkboxes, plus and minus signs, and lines connecting the nodes.

OwnerDrawText

The label portion of the System.Windows.Forms.TreeView nodes are drawn manually. Other node elements are drawn by the operating system, including icons, checkboxes, plus and minus signs, and lines connecting the nodes.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0