Back to Devexpress

VerticalGridCommandRow.ShowEditButton Property

aspnet-devexpress-dot-web-dot-verticalgridcommandrow-206c6fdc.md

latest1.9 KB
Original Source

VerticalGridCommandRow.ShowEditButton Property

Specifies the visibility of the Edit command button in the command row.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool ShowEditButton { get; set; }
vb
<DefaultValue(False)>
Public Property ShowEditButton As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the button is visible; otherwise, false.

|

Remarks

Follow the steps below to allow the grid to display the Edit command button in the command row:

  1. Set the Mode property to Batch.
  2. Enable the ShowEditButton property.
aspx
<dx:ASPxVerticalGrid ID="VerticalGrid" runat="server" KeyFieldName="ProductID" ...>
    <Rows>
        <dx:VerticalGridCommandRow ShowEditButton="true" />
        <!-- ... -->
    </Rows>
    <SettingsEditing Mode="Batch" />
</dx:ASPxVerticalGrid>

To specify the button settings, use the EditButton property.

See Also

VerticalGridCommandRow Class

VerticalGridCommandRow Members

DevExpress.Web Namespace