NavLinkCollection.Sort(IComparer) Method
Sorts links in the group using the specified IComparer object.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
comparer | IComparer | A IComparer object providing custom comparing rules for the sorting routine. |
Remarks
The NavLinkCollection.SortByCaption method allows you to sort a group’s links by their captions. You can, however, create a custom IComparer object, which implements custom comparison rules, and then sort items using the Sort method.
See Also