Search code examples
wpfribbonminimizemaximize

How to minimize/maximize the Ribbon


I use the Ribbon for WPF (2010 - Microsoft.Windows.Controls.Ribbon). I want to create a Button, which minimize or maximize the Ribbon Tab, like in msoffice this button:

enter image description here

How can I do that?


Solution

  • Just access the IsMinimized property of the ribbon to Minimize / Maximize.