GridColumn.AppearanceCell Property
Gets the appearance settings used to paint the column’s data cells.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public AppearanceObjectEx AppearanceCell { get; }
Property Value
Type | Description |
---|---|
AppearanceObjectEx | A AppearanceObjectEx object which provides the appearance settings used to paint the column’s data cells. |
Remarks
Use the AppearanceCell property to specify the appearance of the data cells within an individual column. In this case, the appearance settings common to all the data cells (in Grid Views) or field values (in Card Views) are ignored. For more information on appearances, see the Appearance and Conditional Formatting document.
To specify custom appearance settings for an individual cell within a view, handle the GridView.RowCellStyle event. Individual data cells can also be custom painted via the GridView.CustomDrawCell event.