[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Visual Elements
     Alternating Node
     Column Header
     Command Button
     Command Column
     Customization Window
     Data Cell
     Data Column
     Edit Cell
     Edit Form
     Error Node
     Expand Button
     Filter Bar
     Filter Control
     Filter Row
     Group Footer
     Header Filter
     In-Line Edit Node
     Popup Edit Form
     Search Panel
     Selection Cell
     Tree Line
   [Expand]Member Tables
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Command Button

Command buttons are displayed within the command column's cells and allow end-users to add and delete nodes, switch the ASPxTreeList to edit mode, update data, etc. A command button represents a single command. For instance, the Delete button allows end-users to delete nodes. There are five command buttons: New, Edit, Delete, Update and Cancel. A command column allows multiple buttons to be displayed within a cell. By default, a command button is represented by a link. It can also be represented by a button or image.

Command columns can also display custom buttons.


The table below lists the main members which affect the element's appearance and functionality:

Characteristics Members
Representation TreeListCommandColumn.ButtonType
Accessibility TreeListCommandColumn.NewButton, TreeListCommandColumn.EditButton, TreeListCommandColumn.DeleteButton, TreeListCommandColumn.UpdateButton, TreeListCommandColumn.CancelButton, TreeListCommandColumn.CustomButtons
Action ASPxClientTreeList.CustomButtonClick
Visibility TreeListCommandColumnButton.Visible
Style TreeListStyles.CommandButton

Is this topic helpful?​​​​​​​