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

StyleFormatConditionCollection.CompareValues(Object, Object) Method

Compares the two specified values.

Namespace: DevExpress.XtraTreeList.StyleFormatConditions

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public override int CompareValues(
    object val1,
    object val2
)

#Parameters

Name Type Description
val1 Object

The first value to compare.

val2 Object

The second value to compare.

#Returns

Type Description
Int32

0 if the values are equal; -1 if the first value is less than the second value; 1 if the first value is greater than the second value.

See Also