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

StyleFormatCondition(FormatConditionEnum, TreeListColumn, Object, Object) Constructor

In This Article

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

Namespace: DevExpress.XtraTreeList.StyleFormatConditions

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public StyleFormatCondition(
    FormatConditionEnum condition,
    TreeListColumn column,
    object tag,
    object val1
)

#Parameters

Name Type Description
condition FormatConditionEnum

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

column TreeListColumn

A TreeListColumn object that represents the column whose values are involved in conditional formatting. This value is assigned to the StyleFormatCondition.Column property.

tag Object

Any object to be associated with the created style condition. This value is assigned to the StyleFormatConditionBase.Tag property.

val1 Object

An object that is compared to cell values as specified by the condition parameter. This value is assigned to the StyleFormatConditionBase.Value1 property.

See Also