GridFormatRule.ApplyToRow Property

Gets or sets whether the format is applied to an entire row.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true, if the format is applied to the entire row; otherwise, false.

Remarks

If a GridFormatRule.Column's cell meets the current GridFormatRule object, the format is applied to a single cell of the GridFormatRule.Column or GridFormatRule.ColumnApplyTo column by default. If the ApplyToRow option is enabled, the format is applied to an entire row.

The ApplyToRow property is not in effect for the FormatConditionRuleDataBar and FormatConditionRuleIconSet formats.

See Also