Skip to main content
A newer version of this page is available. .

GridFormatRule.Column Property

Gets or sets a column that provides values to test against the current format rule. By default, the format is applied to this column.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public GridColumn Column { get; set; }

Property Value

Type Default Description
GridColumn *null*

The column that provides values to test against the current formatting rule.

Remarks

By default, if a cell in the Column meets the current GridFormatRule object, the format is applied to this cell. However, you can choose another target column using the GridFormatRule.ColumnApplyTo property.

In addition, the format can be applied to the entire row. To accomplish this, set the GridFormatRule.ApplyToRow property to true.

See Also