New to Telerik UI for WinForms? Start a free 30-day trial

Orders ribbon groups by their collapsing priority.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ExpandableStackLayout.CollapsableOrderSorter

Inheritance: objectExpandableStackLayout.CollapsableOrderSorter

Constructors

C#
public CollapsableOrderSorter()

Methods

Compares two collapsible elements by CollapsingPriority.

C#
public int Compare(CollapsibleElement x, CollapsibleElement y)
Parameters:xCollapsibleElement

The first element to compare.

yCollapsibleElement

The second element to compare.

Returns:

int

The priority comparison for two groups, or zero when either element is not a group.