Back to Devexpress

CategoryRow.TreeButtonType Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-categoryrow-d74053de.md

latest2.8 KB
Original Source

CategoryRow.TreeButtonType Property

Gets the category row’s tree button type.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public override TreeButtonType TreeButtonType { get; }
vb
<Browsable(False)>
Public Overrides ReadOnly Property TreeButtonType As TreeButtonType

Property Value

TypeDescription
TreeButtonType

A TreeButtonType enumeration member specifying the button’s type.

|

Available values:

NameDescription
TreeViewButton

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

| | ExplorerBarButton |

A tree button is displayed as an explorer button.

|

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.

TreeButtonStyleTreeButtonType
TreeButtonStyle.DefaultA 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.ExplorerBarThe TreeButtonType.ExplorerBarButton value is returned. This indicates that a tree button is displayed as an explorer bar button.
TreeButtonStyle.TreeViewThe TreeButtonType.TreeViewButton value is returned. This indicates that a tree button is displayed as a standard tree view button.

See Also

TreeButtonStyle

CategoryRow Class

CategoryRow Members

DevExpress.XtraVerticalGrid.Rows Namespace