Skip to main content

StyleFormatConditionCollection.CompareValues(Object, Object) Method

Compares the two specified values.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

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