Disable minimize or maximize when double clicked on ribbon

I use the Ribbon for WPF (2010 - Microsoft.Windows.Controls.Ribbon).

How can I disable the minimize or maximize effect from the red range, when I do a double click on the tab (header)


Use this event on the SizeChanged property of the ribbon to suppress minimizing.

/// <summary>
/// Disable the minimize functionality of the ribbon.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void RibbonSizeChanged(object sender, SizeChangedEventArgs e)
    var ribbon = sender as Ribbon;
    if (ribbon != null)
        ribbon.IsMinimized = false;

    // Handled
    e.Handled = true;

Need Your Help

How do I position a div below an image with changing height?

html css responsive-design css-position relative

In my new site I have an image set to width 100% and then a some text underneath that. How to I change the position of the text based on the height of the image?

The intended purpose for <app name>.exe.config file in a VB.NET Forms app

.net vb.net winforms app-config

I am currently reading up on documentation for a possible assignment I might be put on. In a design document they talk about the .exe.config file. They state that its only purpose is to store const...