Skip to main content

VGridControlBase.TreeButtonStyle Property

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

[DefaultValue(TreeButtonStyle.Default)]
[XtraSerializableProperty]
public TreeButtonStyle TreeButtonStyle { get; set; }

Property Value

Type Default Description
TreeButtonStyle Default

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

Available values:

Name Description
Default

Either the Explorer Button, displayed on the right, or the Tree Button, displayed on the left, depending on the current paint scheme.

TreeView

The Tree Button, displayed on the left (the appearance is dependent on the current paint scheme):

“DevExpress Style” skin: TreeViewBtn-Skin

Office2003 style: TreeViewBtn

ExplorerBar

The Explorer Button, displayed on the right (the appearance is dependent on the current paint scheme):

“DevExpress Style” skin: ExplorerBtn-SKin

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