Skip to main content

StyleFormatConditionBase(FormatConditionEnum, Object, AppearanceDefault, Object, Object, Object) Constructor

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public StyleFormatConditionBase(
    FormatConditionEnum condition,
    object tag,
    AppearanceDefault 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 DevExpress.Utils.AppearanceDefault

A DevExpress.Utils.AppearanceDefault 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