Skip to main content
A newer version of this page is available. .

GridColumn.AppearanceCell Property

Gets the appearance settings used to paint the column’s data cells.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

[XtraSerializablePropertyId(1)]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[DXCategory("Appearance")]
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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppearanceCell property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also