A newer version of this page is available. Switch to the current version.

GridViewFormatConditionHighlight.CellStyle Property

Gets the style settings defining the custom conditional formatting applied to cells.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public GridViewCellStyle CellStyle { get; }
Public ReadOnly Property CellStyle As GridViewCellStyle

Property Value

Type Description

A GridViewCellStyle object that contains the style settings.


When the GridFormatConditionExpressionBase.Format property is set to Custom and the GridViewFormatConditionHighlight.ApplyToRow property is set to false, use the CellStyle property to specify the style settings that are applied to a cell whose value meets the condition specified by the GridFormatConditionHighlight.Rule property.

Online Demo

Conditional Formatting

See Also