GridFormatRule.ColumnApplyTo Property

Gets or sets a column, to which the format should be applied instead of the column specified by the GridFormatRule.Column property.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v21.1.dll

Declaration

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

Property Value

Type Default Description
GridColumn

null

The target column to which the format is applied.

Remarks

If the ColumnApplyTo property is not set, the format is applied to cells of the column specified by the GridFormatRule.Column property.

In addition, you can apply the format to the entire row by setting the GridFormatRule.ApplyToRow property to true.

See Also