Skip to main content

StyleFormatConditionBase(FormatConditionEnum, Object, AppearanceObject, Object, Object, Object) Constructor

Initializes a new instance of the StyleFormatConditionBase class with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public StyleFormatConditionBase(
    FormatConditionEnum condition,
    object tag,
    AppearanceObject appearanceDefault,
    object val1,
    object val2,
    object column
)

Parameters

Name Type Description
condition FormatConditionEnum

A FormatConditionEnum enumeration value which specifies the comparison operation. This value is assigned to the StyleFormatConditionBase.Condition property.

tag Object

A Object which identifies the current style condition object. This value is assigned to the StyleFormatConditionBase.Tag property.

appearanceDefault AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint the elements which match the specified format condition. This value is assigned to the StyleFormatConditionBase.Appearance property.

val1 Object

A Object which represents the first comparison value. This value is assigned to the StyleFormatConditionBase.Value1 property.

val2 Object

A Object which represents the second comparison value. This value is assigned to the StyleFormatConditionBase.Value2 property.

column Object

A Object value which represents a column whose values are used in conditional formatting.

See Also