ScrollBarAnnotationRowInfo.CompareTo(ScrollBarAnnotationRowInfo) Method

Compares the current instance with a specified object and indicates whether the current instance precedes, follows, or appears at the same position in the sort order as the specified object.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public int CompareTo(
    ScrollBarAnnotationRowInfo other
)
Public Function CompareTo(
    other As ScrollBarAnnotationRowInfo
) As Integer

Parameters

Name Type Description
other ScrollBarAnnotationRowInfo

An object to compare with the current instance.

Returns

Type Description
Int32

An integer value that specifies whether the current instance precedes, follows, or appears at the same position in the sort order as the specified object.

Remarks

The CompareTo method compares the ScrollBarAnnotationRowInfo instances based on their ScrollBarAnnotationRowInfo.RowIndex property values.

See Also