Skip to main content

CategoryRow.TreeButtonType Property

Gets the category row’s tree button type.

Namespace: DevExpress.XtraVerticalGrid.Rows

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