Ribbon in Grid bug ?

Ribbon for WPF Forum

Posted 16 years ago by Dieter De Preester

when i place a ribbon in a grid, with row 0 it is visible in blend en VS.NET but NOT at runtime. When change the row to nr 1 it is also visible at runtime. The xaml looks like this:

Title="MainScreen" Height="583" Width="795" WindowState="Maximized" xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon">
<RowDefinition Height="143"/>
<ribbon:Ribbon HorizontalAlignment="Left" Width="Auto" Grid.Row="0"/>

kind regards

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Dieter,

We have a troubleshooting topic in the docs on this and also we have a blog post on it:

Basically it is the Ribbon collapsing feature kicking in since you gave an explicit height on the row containing the Ribbon that is lower than the threshold size for collapsing.

Just change Height="143" to Height="Auto" and your problem should be solved.

Sometimes when you click around in VS, you may accidentally move a grid line, which causes an explicit height to be set. That is most likely what happened here.

Actipro Software Support

The latest build of this product (v24.1.2) was released 0 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.