Back to Devexpress

StyleFormatCondition Members

windowsforms-devexpress-dot-xtragrid-dot-styleformatcondition-dot-underscore-members.md

latest9.6 KB
Original Source

StyleFormatCondition Members

A single style condition.

Constructors

NameDescription
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

NameDescription
AppearanceGets 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.
AppearanceDescriptionProvides access to appearance settings used to paint the descriptions of the items that match the current format condition. Inherited from StyleFormatConditionBase.
ApplyToRowGets or sets whether the appearance settings are to be applied to rows or to cells of the StyleFormatCondition.Column.
CollectionGets the collection that owns the current style condition object.
ColumnGets or sets the column whose values take part in conditional formatting.
ColumnNameThis member supports the internal infrastructure and is not intended to be used directly from your code.
ConditionGets or sets the comparison operation used by the style condition object. Inherited from StyleFormatConditionBase.
EnabledGets or sets whether the current condition is in effect. Inherited from StyleFormatConditionBase.
ExpressionGets 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.
IsValidGets a value indicating whether the current style format condition is enabled. Inherited from StyleFormatConditionBase.
NameGets or sets the StyleFormatConditionBase object’s name. Inherited from StyleFormatConditionBase.
TagGets or sets a value which identifies the current style condition object. Inherited from StyleFormatConditionBase.
Value1Gets or sets the first comparison value. Inherited from StyleFormatConditionBase.
Value2Gets or sets the second comparison value. Inherited from StyleFormatConditionBase.

Methods

NameDescription
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) 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.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
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 StyleFormatConditionBase.

See Also

StyleFormatCondition Class

DevExpress.XtraGrid Namespace