Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / SelectionRange Structure / CompareTo Method
A SelectionRange with which the caller will be compared.


    CompareTo Method
    Compares the passed SelectionRange to the caller.
    Syntax
    'Declaration
     
    Public Function CompareTo( _
       ByVal other As SelectionRange _
    ) As Integer
     
    'Usage
     
    Dim instance As SelectionRange
    Dim other As SelectionRange
    Dim value As Integer
     
    value = instance.CompareTo(other)

    Parameters

    other
    A SelectionRange with which the caller will be compared.

    Return Value

    -1 if the caller is less than other, 1 if the caller is greater than other, or 0 if caller and other are identical.
    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