LayoutGroup.CellStyle Property
Gets the style settings that define the cell appearance.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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>
See Also