Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I found the answer:</p> <p>This is a built in behavior of the newly released Microsoft Ribbon: the containing window is stored in the Ribbon object and the Ribbon collapses When the width of the window is under 300, OR the height of the window is under 250, the purpose is of course is that when space is scarce, priority is given to the document, not the Ribbon. Same behavior is found in Word and Excel ribbons.</p> <p>There is no streightforward way of overriding this behaviour but you can do the following:</p> <p>1 - Download and install the Source and Sample installer from this page.</p> <p>2 - Find the RAR file containing the solution.</p> <p>3 - Extract and open the solution.</p> <p>4 - Find the Ribbon class (should be in RibbonsControlsLibrary project)</p> <p>You can examine the implementation of the class from here, you can see there are two constants in the beginning of the class that are causing the issue.. You might even consider changing the code and rebuilding the whole project if nothing else works.</p> <pre><code>public class Ribbon : Selector { private const double CollapseWidth = 300.0; // The minimum allowed width before the Ribbon will be collapsed. private const double CollapseHeight = 250.0; // The minimum allowed height before the Ribbon will be collapsed. //.... } </code></pre> <p><a href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/0803a7ee-a8a1-4901-b390-41695fde10e9?prof=required" rel="nofollow noreferrer">Original solution post</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload