Skip to main content

ColumnLayoutItem.ColumnName Property

Gets or sets the name of a column assigned to the current item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public string ColumnName { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that identifies the assigned column.


Use the ColumnName property to specify a column assigned to the current item. The specified string can be either: a column name (WebColumnBase.Name), field name (GridViewDataColumn.FieldName), or caption (WebColumnBase.Caption).

The following example illustrates how to use the ColumnName property.

<dx:ASPxGridView ID="grid" runat="server" ...>
    <EditFormLayoutProperties ColCount="2">
            <dx:GridViewLayoutGroup ColCount="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" />

Online Demo

ASPxGridView - Edit Form Layout

See Also