Skip to main content
A newer version of this page is available. .

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.v19.1.Core.dll

Declaration

public int CompareTo(
    ScrollBarAnnotationRowInfo other
)

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