Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I opened a new WPF RibbonMenu project in VS2010 and resized the MainWindow down to just the height of the RibbonMenu...

Now when I run the app the RibbonMenu has disappeared... resizing the height up a bit restores the RibbonMenu.

Is this bug? OR is there a workaround for it?

My Thought is to use the RibbonMenu like a floating ToolBar and then have other windows to open from there.
Posted

1 solution

That is "as designed". You should set a minimum height on your form so that it doesn't happen.
 
Share this answer
 
Comments
Squire Dude 20-Apr-11 15:39pm    
Thanks John,

So if I understand this is correctly... it is normal for the Ribbon to become hidden if you set a height/minHeight to the actual height of the Ribbon Menu. Even thought this was exactly what I wanted by design...

Not sure I understand the logic behind this thinking but then this Microsoft we are talking about!

So I will have to abandon the floating ToolBar method and re-think my use of the Ribbon Menu. And it was such a good idea too!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900