Skip to main content

StyleFormatConditionBase Members

Serves as a base for classes that implement style conditions.

Constructors

Name Description
StyleFormatConditionBase() Initializes a new instance of the StyleFormatConditionBase class.
StyleFormatConditionBase(FormatConditionEnum, Object, AppearanceDefault, Object, Object, Object) Initializes a new instance of the StyleFormatConditionBase class with the specified settings.
StyleFormatConditionBase(FormatConditionEnum, Object, AppearanceObject, Object, Object, Object) Initializes a new instance of the StyleFormatConditionBase class with the specified settings.

Properties

Name Description
Appearance Gets or sets the appearance settings used to paint the elements (e.g., cells in the XtraGrid) that match the specified format condition.
AppearanceDescription Provides access to appearance settings used to paint the descriptions of the items that match the current format condition.
Collection Gets the collection that owns the current style condition object.
Condition Gets or sets the comparison operation used by the style condition object.
Enabled Gets or sets whether the current condition is in effect.
Expression Gets or sets the Boolean expression. When it evaluates to true, the StyleFormatConditionBase.Appearance is applied to data. The Expression property is in effect when the StyleFormatConditionBase.Condition property is set to FormatConditionEnum.Expression.
IsValid Gets a value indicating whether the current style format condition is enabled.
Name Gets or sets the StyleFormatConditionBase object’s name.
Tag Gets or sets a value which identifies the current style condition object.
Value1 Gets or sets the first comparison value.
Value2 Gets or sets the second comparison value.

Methods

Name Description
Assign(StyleFormatConditionBase) Copies the settings from the object passed as the parameter.
CheckValue(Object, Object, Object) Checks whether the specified value in the specified column and data row matches the current style condition.
CheckValue(Object, Object) Obsolete. This method is obsolete. Use the CheckValue overload that takes the row parameter.
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.
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