編輯

共用方式為


Ribbon.IsMinimized Property

Definition

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

public:
 property bool IsMinimized { bool get(); void set(bool value); };
public bool IsMinimized { get; set; }
member this.IsMinimized : bool with get, set
Public Property IsMinimized As Boolean

Property Value

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.

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.

Dependency Property Information

Item Value
Identifier field IsMinimizedProperty
Metadata properties set to true None

Applies to

See also