DashboardToolbarItem.ButtonType Property
Gets the type of the clicked command button.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
#Declaration
public DashboardButtonType ButtonType { get; }
#Property Value
Type | Description |
---|---|
Dashboard |
A Dashboard |
Available values:
Name | Description |
---|---|
None | The value does not correspond to any command button. |
Drill |
Identifies the Drill Up button. |
Clear |
Identifies the Clear Master Filter button. |
Clear |
Identifies the Clear Selection button. |
Values | Identifies the Values button. |
Export | Identifies the Export to button. |
Parameters | Identifies the Parameters button. |
Map |
Identifies the Initial Extent button. |
Date |
Identifies the Select Date Time Period button of the Range Filter dashboard item. |
Multi |
Identifies the Multi-Select button. |
Maximize | Identifies the Maximize button. |
Restore | Identifies the Restore button. |
Custom | Identifies a button created in the Customize |
Inspect |
Identifies the Inspect Data button. |
#Remarks
Use this property to determine the built-in button’s type. If a button is added in the CustomizeDashboardTitle or CustomizeDashboardItemCaption event handlers, the type is Custom.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ButtonType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.