System.Windows.Forms.TreeView.DrawMode Property

Gets or sets the mode in which the control is drawn.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.TreeViewDrawMode.Normal)]
public TreeViewDrawMode DrawMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The nodes of a System.Windows.Forms.TreeView are typically drawn by the operating system. The TreeView.DrawMode property lets you customize the appearance of the nodes. To do this, set TreeView.DrawMode to TreeViewDrawMode.OwnerDrawAll or TreeViewDrawMode.OwnerDrawText and provide a handler for the TreeView.DrawNode event. This is called owner drawing.

Requirements

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