Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#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