Xceed Toolkit Plus for WPF v4.6 Documentation
Compare Method (DataPointComparer)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace > DataPointComparer Class : Compare Method
The first DataPoint.
The second DataPoint.
Compares two DataPoint instances by their X values
Syntax
'Declaration
 
Public Function Compare( _
   ByVal x As Object, _
   ByVal y As Object _
) As Integer
'Usage
 
Dim instance As DataPointComparer
Dim x As Object
Dim y As Object
Dim value As Integer
 
value = instance.Compare(x, y)
public int Compare( 
   object x,
   object y
)

Parameters

x
The first DataPoint.
y
The second DataPoint.

Return Value

-1 if x is less than y, 1 if x is greater than y, 0 if they are equal or either is null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataPointComparer Class
DataPointComparer Members