Back to Devexpress

BaseRow.TreeButtonType Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-365b3046.md

latest2.5 KB
Original Source

BaseRow.TreeButtonType Property

Gets the 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 virtual TreeButtonType TreeButtonType { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property TreeButtonType As TreeButtonType

Property Value

TypeDescription
TreeButtonType

A TreeButtonType enumeration member that specifies the row’s tree button 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

Each row in a vertical grid control can have child rows. Parent rows display tree buttons so that end-users can expand and collapse them to show and hide their children respectively.

As implemented in the BaseRow class the TreeButtonType property returns the TreeButtonType.TreeViewButton value. This property is overridden in the CategoryRow class in order to indicate the category expand button’s type.

See Also

TreeButtonType

Collapse and Expand Rows

BaseRow Class

BaseRow Members

DevExpress.XtraVerticalGrid.Rows Namespace