Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.TreeButtonStyle Property

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.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