aspnet-devexpress-dot-web-dot-aspxgridview-d07669ff.md
Provides access to the edit form layout settings.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(null)]
public GridViewFormLayoutProperties EditFormLayoutProperties { get; }
<DefaultValue(Nothing)>
Public ReadOnly Property EditFormLayoutProperties As GridViewFormLayoutProperties
| 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">
<Items>
<dx:GridViewLayoutGroup ColumnCount="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>
Run Demo: ASPxGridView - Edit Form Layout
View Example: Grid View for ASP.NET Web Forms - How to customize the edit form layout
See Also