Skip to main content
Tab

GridViewFormatConditionHighlight.ApplyToRow Property

Specifies whether the conditional formatting is applied to a particular cell or to a whole row.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(false)]
public bool ApplyToRow { get; set; }

#Property Value

Type Default Description
Boolean false

true to apply the style settings to a row; false to apply the style settings to a cell.

#Remarks

When a cell value meets the condition specified by the GridFormatConditionHighlight.Rule property, a format specified by the GridFormatConditionExpressionBase.Format property is applied to the cell.

Set the ApplyToRow property to true to apply the format to the whole row containing the cell.

#Online Demo

Conditional Formatting

See Also