Skip to main content

StyleFormatConditionCollection.CompareValues(Object, Object) Method

Compares the two specified values.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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