Environment

Product Version 2019.1.116
Product RadRibbonView for WPF

Description

How to autofit the content area of RadRibbonView to the elements in the selected tab.

Solution

To make the content height stretch based on the size of the elements in the selected tab, you can set the ContentHeight property of RadRibbonView to double.NaN.

<telerik:RadRibbonView ContentHeight="NaN" /> 

 this.radRibbonView.ContentHeight = double.NaN; 
Before (left) and after (right) visual example

See Also

In this article
Not finding the help you need? Improve this article