Back to Devexpress

FormatConditionRuleValue Members

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionrulevalue-dot-underscore-members.md

latest8.7 KB
Original Source

FormatConditionRuleValue Members

Applies a format if a column’s value meets a specified condition (Equal, Less, Between, etc.).

Constructors

NameDescription
FormatConditionRuleValue()Initializes a new instance of a FormatConditionRuleValue class.

Fields

NameDescription
AggregateConditionsUseAllListSourceRows staticSpecifies whether to always calculate boundary values in Conditional Formatting rules based on all data source records. Inherited from FormatConditionRuleBase.
BetweenConditionsIncludeEndpoints staticGets or sets whether the Between condition is inclusive (the Value1 and Value2 property values are included in the interval). Inherited from FormatConditionRuleBase.

Properties

NameDescription
AllowAnimationGets 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. Inherited from FormatConditionRuleBase.
AppearanceAllows you to explicitly set the appearance settings (background and foreground colors and font settings) for target cells. This property’s settings take priority over the style specified by the FormatConditionRuleAppearanceBase.PredefinedName property. Inherited from FormatConditionRuleAppearanceBase.
ConditionGets or sets the comparison operator (Equal, Between, Less, etc.).
ExpressionGets or sets a Boolean expression to which target cells should match.
IsValidGets whether the current FormatConditionRuleBase object is properly customized. Inherited from FormatConditionRuleBase.
PredefinedNameGets or sets the name of a predefined or custom style applied to target cells. Inherited from FormatConditionRuleAppearanceBase.
Value1Gets or sets the first constant that is compared with column values.
Value2Gets or sets the second constant that is compared with column values.

Methods

NameDescription
Assign(FormatConditionRuleBase)Copies settings from the specified object to the current object. Inherited from FormatConditionRuleBase.
BeginUpdate()Locks the FormatConditionRuleBase by preventing change notifications from being fired, preventing visual updates until the EndUpdate method is called. Inherited from FormatConditionRuleBase.
ConvertToDecimal(Object) staticConverts the specified object to the nullable decimal type. Inherited from FormatConditionRuleBase.
CreateInstance()Creates a new instance of the FormatConditionRuleValue class.
EndUpdate()Unlocks the FormatConditionRuleBase object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from FormatConditionRuleBase.
Equals(Object, Object) staticDetermines 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.
GetAllowAnimation()Gets whether an animation effect is enabled for and supported by the format rule. Inherited from FormatConditionRuleBase.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetOwner()For internal use. Inherited from FormatConditionRuleBase.
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. Inherited from FormatConditionRuleBase.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the text representation of the current object. Inherited from FormatConditionRuleBase.

See Also

FormatConditionRuleValue Class

DevExpress.XtraEditors Namespace