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

CategoryRow.TreeButtonType Property

Gets the category row’s tree button type.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
public override TreeButtonType TreeButtonType { get; }

#Property Value

Type Description
TreeButtonType

A TreeButtonType enumeration member specifying the button’s type.

Available values:

Name Description
TreeViewButton

A tree button is displayed as a standard tree view button. TreeViewBtn

ExplorerBarButton

A tree button is displayed as an explorer button. ExplorerBtn

#Remarks

The TreeButtonType property indicates the type of tree button used to expand/collapse the category row. The value returned by this property depends on the VGridControlBase.TreeButtonStyle property setting which specifies the button’s appearance.

TreeButtonStyle TreeButtonType
TreeButtonStyle.Default A category row tree button’s type is based on the control’s look and feel settings. If the Windows XP theme is used, the TreeButtonType.ExplorerBarButton value is returned. Otherwise, the TreeButtonType.TreeViewButton value is returned.
TreeButtonStyle.ExplorerBar The TreeButtonType.ExplorerBarButton value is returned. This indicates that a tree button is displayed as an explorer bar button.
TreeButtonStyle.TreeView The TreeButtonType.TreeViewButton value is returned. This indicates that a tree button is displayed as a standard tree view button.
See Also