Skip to main content
Tab

LayoutGroup.CellStyle Property

Gets the style settings that define the cell appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual LayoutGroupCellStyle CellStyle { get; }

Property Value

Type Description
LayoutGroupCellStyle

A LayoutGroupCellStyle object that contains the style settings.

Remarks

The example below demonstrates how to customize the cell appearance:

<dx:ASPxGridView ID="grid" runat="server" DataSourceID="ObjectDataSourceCompanyEmployees" KeyFieldName="EmployeeID">
    <!-- ... -->
    <EditFormLayoutProperties AlignItemCaptionsInAllGroups="true">
        <Items>
            <dx:GridViewLayoutGroup GroupBoxDecoration="None" Paddings-PaddingBottom="0">
                <CellStyle BackColor="#FFE2C6">
                    <Border BorderColor="#CC6600" BorderWidth="2" />
                </CellStyle>
                <Items>
                    <dx:GridViewColumnLayoutItem ColumnName="FirstName"  />
                    <dx:GridViewColumnLayoutItem ColumnName="LastName" />
                    <dx:GridViewColumnLayoutItem ColumnName="BirthDate" />
                </Items>
            </dx:GridViewLayoutGroup>
        </Items>
    </EditFormLayoutProperties>
</dx:ASPxGridView>

ASPxFormLayout Cell Style

See Also