Skip to main content

ASPxGridView.EditFormLayoutProperties Property

Provides access to the edit form layout settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public GridViewFormLayoutProperties EditFormLayoutProperties { get; }

Property Value

Type Default Description
GridViewFormLayoutProperties null

An object that contains the edit form layout settings.


The grid uses the built-in ASPxFormLayout control to display the edit form when the ASPxGridViewEditingSettings.UseFormLayout is set to true. In this case, you can use the EditFormLayoutProperties property to access and customize the edit form layout settings.

<dx:ASPxGridView ID="grid" runat="server" ...>
    <EditFormLayoutProperties ColumnCount="2">
            <dx:GridViewLayoutGroup ColumnCount="2" GroupBoxDecoration="None">
                    <!-- ... -->
                    <dx:GridViewColumnLayoutItem ColumnName="Position" Width="100%" />
                    <dx:GridViewColumnLayoutItem Caption="Notes" Width="100%" VerticalAlign="Top">
                            <dx:ASPxMemo ID="notesMemo" runat="server" Width="100%" Height="253"
                                    Text='<%# Bind("Notes") %>' />
            <dx:EditModeCommandLayoutItem Width="100%" HorizontalAlign="Right" />

Run Demo: ASPxGridView - Edit Form Layout

Online Example

View Example: Grid View for ASP.NET Web Forms - How to customize the edit form layout

See Also