FormatConditionRuleBase Members

The base class for classes that implement conditional formatting rules.

Fields

Name Description
BetweenConditionsIncludeEndpoints static Gets or sets whether the Between condition is inclusive (the Value1 and Value2 property values are included in the interval).

Properties

Name Description
AllowAnimation Gets or sets whether the format is repainted with an animation effect when a cell value changes. Animation effects are supported for specific format rules, only in Data Grid’s GridView, BandedGridView and AdvBandedGridView.
IsValid Gets whether the current FormatConditionRuleBase object is properly customized.

Methods

Name Description
Assign(FormatConditionRuleBase) Copies settings from the specified object to the current object.
BeginUpdate() Locks the FormatConditionRuleBase by preventing change notifications from being fired, preventing visual updates until the EndUpdate method is called.
ConvertToDecimal(Object) static Converts the specified object to the nullable decimal type.
CreateInstance() This method is overridden by FormatConditionRuleBase descendants to create new class instances.
EndUpdate() Unlocks the FormatConditionRuleBase object after a call to the BeginUpdate method and causes an immediate visual update.
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.
GetAllowAnimation() Gets whether an animation effect is enabled for and supported by the format rule.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetOwner()
GetType() Gets the Type of the current instance. Inherited from Object.
IsFit(IFormatConditionRuleValueProvider) Returns whether the current 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.
ToString() Returns the text representation of the current object.
See Also