Back to Devexpress

TreeListFormatRule.Column Property

windowsforms-devexpress-dot-xtratreelist-dot-styleformatconditions-dot-treelistformatrule-5942d113.md

latest2.4 KB
Original Source

TreeListFormatRule.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.XtraTreeList.StyleFormatConditions

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public TreeListColumn Column { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property Column As TreeListColumn

Property Value

TypeDefaultDescription
TreeListColumnnull

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

|

Remarks

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

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

See Also

ColumnApplyTo

ApplyToRow

TreeListFormatRule Class

TreeListFormatRule Members

DevExpress.XtraTreeList.StyleFormatConditions Namespace