Back to Devexpress

TreeListFormatRule.ApplyToRow Property

windowsforms-devexpress-dot-xtratreelist-dot-styleformatconditions-dot-treelistformatrule-b2140619.md

latest2.6 KB
Original Source

TreeListFormatRule.ApplyToRow Property

Gets or sets whether the format is applied to the entire row.

Namespace : DevExpress.XtraTreeList.StyleFormatConditions

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool ApplyToRow { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property ApplyToRow As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the format is applied to the entire row; otherwise, false.

|

Remarks

If a TreeListFormatRule.Column‘s cell meets the current TreeListFormatRule object, the format is applied to a single cell of the TreeListFormatRule.Column or TreeListFormatRule.ColumnApplyTo column by default. If the ApplyToRow option is enabled, the format is applied to the entire row.

The ApplyToRow property is not in effect for the FormatConditionRuleDataBar and FormatConditionRuleIconSet formats.

See Also

Column

ColumnApplyTo

TreeListFormatRule Class

TreeListFormatRule Members

DevExpress.XtraTreeList.StyleFormatConditions Namespace