TreeListCommandColumn.EditButton Property

Gets the Edit button's settings.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll


public TreeListCommandColumnButton EditButton { get; }
Public ReadOnly Property EditButton As TreeListCommandColumnButton

Property Value

Type Description

A TreeListCommandColumnButton object that specifies the button's settings.


The Edit button switches the ASPxTreeList to edit mode. Use the EditButton property to specify the button's image, caption and visibility. The button's type is specified by the TreeListCommandColumn.ButtonType property.

The following example illustrates how to show the Edit command button as a button with an image.

<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" KeyFieldName="ProductID">
    <dx:TreeListCommandColumn ButtonType="Button" VisibleIndex="3">
        <EditButton Text="Edit Node" Visible="True">
            <Image ToolTip="Click button to edit" Url="icon.png" AlternateText="Edit Record"/>
See Also