TreeListCommandColumnButtonEventArgs.ButtonType Property
Gets the type of the command button currently being initialized.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
| Type | Description |
|---|---|
| TreeListCommandColumnButtonType | One of the TreeListCommandColumnButtonType enumeration values. |
Available values:
| Name | Description |
|---|---|
| Edit | Corresponds to the Edit command. Switches the ASPxTreeList to edit mode. |
| New | Corresponds to the New command. Creates a new node. |
| Delete | Corresponds to the Delete command. Deletes the current node. |
| Update | Corresponds to the Update command. Saves all the changes made to the current node, and switches the ASPxTreeList to browse mode. |
| Cancel | Corresponds to the Cancel command. Discards any changes made to the current node and switches the ASPxTreeList to browse mode. |
| ApplyFilter | Corresponds to the Apply command. Applies the filter criteria. |
| ClearFilter | A command that clears the filter applied to the current column. |
| Custom | Corresponds to the custom type of command buttons. Custom command buttons are contained within the command column’s TreeListCommandColumn.CustomButtons collection. |
| ApplySearchPanelFilter | Corresponds to the Apply command. Applies the search panel’s filter criteria. |
| ClearSearchPanelFilter | Corresponds to the Clear command. Clears the filter specified in the search panel. |
| Recover | Corresponds to the Recover command. Recovers the deleted nodes. |