VGridControlBase.TreeButtonStyle Property

Gets or sets the style which is used to display category row tree buttons.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[DefaultValue(TreeButtonStyle.Default)]
[XtraSerializableProperty]
public TreeButtonStyle TreeButtonStyle { get; set; }
<DefaultValue(TreeButtonStyle.Default)>
<XtraSerializableProperty>
Public Property TreeButtonStyle As TreeButtonStyle

Property Value

Type Default Description
TreeButtonStyle

Default

A TreeButtonStyle enumeration value that specifies the style which is used to display category row tree buttons.

Remarks

The TreeButtonStyle property specifies the appearance of tree buttons used to expand/collapse category rows. If this property is set to the TreeButtonStyle.TreeView value, tree buttons are displayed as a tree view button and are shown to the left. If this property is set to the TreeButtonStyle.ExplorerBar value, tree buttons are displayed as an explorer button and are shown to the right.

Tree buttons can also be custom painted. To do this, handle the VGridControlBase.CustomDrawTreeButton event.

See Also