Skip to main content

StyleFormatCondition Members

A single style condition.

Constructors

Name Description
StyleFormatCondition() Creates a new StyleFormatCondition object with default settings.
StyleFormatCondition(FormatConditionEnum, GridColumn, Object, Object, Object, Boolean) Initializes a new instance of the StyleFormatCondition class with the specified settings.
StyleFormatCondition(FormatConditionEnum, GridColumn, Object, Object, Object) Initializes a new instance of the StyleFormatCondition class with the specified settings.
StyleFormatCondition(FormatConditionEnum, GridColumn, Object, Object) Initializes a new instance of the StyleFormatCondition class with the specified settings.
StyleFormatCondition(FormatConditionEnum, Object, AppearanceDefault, Object, Object, GridColumn, Boolean) Initializes a new instance of the StyleFormatCondition class with the specified settings.
StyleFormatCondition(FormatConditionEnum, Object, AppearanceObject, Object, Object, GridColumn, Boolean) Initializes a new instance of the StyleFormatCondition class with the specified settings.
StyleFormatCondition(FormatConditionEnum) Initializes a new instance of the StyleFormatCondition class with the specified comparison operation type.

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. Inherited from StyleFormatConditionBase.
AppearanceDescription Provides access to appearance settings used to paint the descriptions of the items that match the current format condition. Inherited from StyleFormatConditionBase.
ApplyToRow Gets or sets whether the appearance settings are to be applied to rows or to cells of the StyleFormatCondition.Column.
Collection Gets the collection that owns the current style condition object.
Column Gets or sets the column whose values take part in conditional formatting.
ColumnName This member supports the internal infrastructure and is not intended to be used directly from your code.
Condition Gets or sets the comparison operation used by the style condition object. Inherited from StyleFormatConditionBase.
Enabled Gets or sets whether the current condition is in effect. Inherited from StyleFormatConditionBase.
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. Inherited from StyleFormatConditionBase.
IsValid Gets a value indicating whether the current style format condition is enabled. Inherited from StyleFormatConditionBase.
Name Gets or sets the StyleFormatConditionBase object’s name. Inherited from StyleFormatConditionBase.
Tag Gets or sets a value which identifies the current style condition object. Inherited from StyleFormatConditionBase.
Value1 Gets or sets the first comparison value. Inherited from StyleFormatConditionBase.
Value2 Gets or sets the second comparison value. Inherited from StyleFormatConditionBase.

Methods

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