Share via


Ribbon.IsMinimized Property

Gets or sets a value that indicates whether the Ribbon is minimized.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property IsMinimized As Boolean
public bool IsMinimized { get; set; }
public:
property bool IsMinimized {
    bool get ();
    void set (bool value);
}
member IsMinimized : bool with get, set
function get IsMinimized () : boolean
function set IsMinimized (value : boolean)

Property Value

Type: System.Boolean
true if the Ribbon is minimized; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

IsMinimizedProperty

Metadata properties set to true

None

Remarks

A user can minimize the ribbon by right-clicking the ribbon and selecting Minimize the Ribbon from the context menu. When the IsMinimized property is true, the Quick Access Toolbar, Application Menu, and tab headers are shown, but the tab contents are put in a drop-down and are not shown by default. When a user selects a tab header, the drop-down for the tab is opened and its contents are shown.

If the IsMinimized property is true, selecting or deselecting the tab header toggles the IsDropDownOpen property between true and false. If the IsMinimized property is false, the IsDropDownOpen property is also false.

.NET Framework Security

See Also

Reference

Ribbon Class

Microsoft.Windows.Controls.Ribbon Namespace

IsDropDownOpen

IsCollapsed