TreeListCommandColumnButtonEventArgs.ButtonType Property
Gets the type of the command button currently being initialized.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v20.2.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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.