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

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.v18.2.dll

Declaration

[DefaultValue(false)]
public bool ApplyToRow { get; set; }
<DefaultValue(False)>
Public Property ApplyToRow As Boolean

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