ScrollBarAnnotationRowInfo.CompareTo(ScrollBarAnnotationRowInfo) Method
In This Article
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 | Scroll |
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