Skip to main content
Tab

ASPxGridView.EditFormLayoutProperties Property

Provides access to the edit form layout settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(null)]
public GridViewFormLayoutProperties EditFormLayoutProperties { get; }

Property Value

Type Default Description
GridViewFormLayoutProperties

null

An object that contains the edit form layout settings.

Remarks

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.

Example

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

Online Demo

ASPxGridView - Edit Form Layout

See Also