Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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