Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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