New to Telerik UI for WinUI? Download free 30-day trial


RadRibbonView supports collapsing, which means that the control will automatically set the Visibility of its main panel to Collapsed to save space. This happens when the window in which the control is hosted is resized to a size smaller than the CollapseThresholdSize.

You can access the RadRibbonView control through an alias pointing to the Telerik.UI.Xaml.Controls namespace: xmlns:telerik="using:Telerik.UI.Xaml.Controls"


The following properties are related to the collapse functionality:

  • IsCollapsed: A property of type bool, which gives information about the current state of the RadRibbonView control. This property is read-only.

  • CollapseThresholdSize: A property of type Windows.Foundation.Size which allows you to control the threshold for collapsing. The default value is 300, 250.

    Example 1: Setting the CollapseThresholdSize

        <telerik:RadRibbonView x:Name="radRibbonView" CollapseThresholdSize="100,100"> 


You can use the CollapsedChanged event to be notified when collapsed state of the ribbon is changed.

Example 2: Adding a handler to the CollapsedChanged event

<telerik:RadRibbonView x:Name="radRibbonView" CollapseThresholdSize="100,100" CollapsedChanged="radRibbonView_CollapsedChanged"> 

Example 3: Handling the CollapsedChanged event

private void radRibbonView_CollapsedChanged(object sender, Telerik.Windows.RadRoutedEventArgs e) 
    RadRibbonView ribbonView = sender as RadRibbonView; 
    bool isCollapsed = ribbonView.IsCollapsed; 

For more information about the events exposed by the RadRibbonView, check out the Events topic.

In this article
Not finding the help you need?