Skip to main content
A newer version of this page is available. .

FormatRuleBase Members

The base class for objects that apply style formats to controls.

Constructors

Name Description
FormatRuleBase() Initializes a new instance of the FormatRuleBase class.

Properties

Name Description
ColumnFieldName 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.
IsValid Gets whether the current FormatRuleBase object is properly customized.
Name Gets or sets the name of the current object.
Rule Gets or sets the style format rule, which defines the condition and appearance settings applied when the condition is true.
RuleType This member supports the internal infrastructure, and is not intended to be used directly from your code.
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.
Tag Gets or sets custom data associated with the current FormatRuleBase object.

Methods

Name Description
Assign(FormatRuleBase) Copies settings from the specified object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. 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.
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.
ToString() Returns the text representation of the current FormatRuleBase object.
See Also