Thank you for the writing.
In case you want to collapse or expand a RadRibbonBar group, you should collapse the approach demonstrated below. If you want to collapse the whole RadRibbonBar, you should follow the suggestion provided by Richard.
The collapse operation in RibbonBar is performed in the public class ExpandableStackLayout and each item in this StackLayout that descends from the public abstract class CollapsibleElement can be expanded or collapsed. By default, ExpandableStackLayout checks if the sum of all sizes of the elements is bigger than the available space and calls the CollapseToStep method for these elements with CollapseStep smaller thanCollapseMaxSteps.
The values of CollapseToStep are:
public enum ChunkVisibilityState :
Expanded = 1,
SmallImages = 3,
NoText = 2,
Collapsed = 4
You can easily collapse any collapsible element with the CollapseElementToStep method and expand it with the ExpandElementToStep method.
Please refer to the attached project for more details.
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download
; also available is the Q1'11 Roadmap
for Telerik Windows Forms controls.