Skip to main content

TreeListFormatRule.ColumnApplyTo Property

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

Namespace: DevExpress.XtraTreeList.StyleFormatConditions

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

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

Property Value

Type Default Description
TreeListColumn 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 TreeListFormatRule.Column property.

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

See Also