A newer version of this page is available. Switch to the current version.

TreeListFormatRule Members

Specifies a single style format rule for a TreeList control.

Constructors

Name Description
TreeListFormatRule() Initializes a new instance of a TreeListFormatRule class.

Properties

Name Description
ApplyToRow Gets or sets whether the format is applied to the entire row.
Column Gets or sets a column that provides values to test against the current format rule. By default, the format is applied to this column.
ColumnApplyTo Gets or sets a column, to which the format should be applied instead of the column specified by the TreeListFormatRule.Column property.
ColumnApplyToName This member supports the internal infrastructure, and is not intended to be used directly from your code.
ColumnFieldName This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from FormatRuleBase.
ColumnName This member supports the internal infrastructure, and is not intended to be used directly from your code.
Enabled Gets or sets whether the current FormatRuleBase object is enabled. Inherited from FormatRuleBase.
IsValid Gets whether the current TreeListFormatRule object is properly customized.
Name Gets or sets the name of the current object. Inherited from FormatRuleBase.
Rule Gets or sets the style format rule, which defines the condition and appearance settings applied when the condition is true. Inherited from FormatRuleBase.
RuleType This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from FormatRuleBase.
StopIfTrue Gets or sets whether subsequent format rules that target a specific cell should be ignored if the current format rule evaluates to true for this cell. Inherited from FormatRuleBase.
Tag Gets or sets custom data associated with the current FormatRuleBase object. Inherited from FormatRuleBase.
TreeList Gets the TreeList object that owns the current formatting rule.

Methods

Name Description
Assign(FormatRuleBase) Copies settings from the specified object to the current object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsFit(IFormatConditionRuleValueProvider) Returns whether the current rule (FormatRuleBase.Rule) evaluates to “true” for input values provided by the specified valueProvider. Inherited from FormatRuleBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RuleCast<T>() Returns the FormatRuleBase.Rule object type-cast to the specified type. Inherited from FormatRuleBase.
ToString() Returns the text representation of the current FormatRuleBase object. Inherited from FormatRuleBase.
See Also