Skip to main content
Tab

GridViewFormatConditionTopBottom.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.1.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 GridFormatConditionTopBottom.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