Share via


Ribbon.IsDropDownOpen Property

Gets or sets a value that indicates whether the drop-down for a RibbonTab is open.

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

Syntax

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

Property Value

Type: System.Boolean
true if the drop-down for a RibbonTab is open; 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

IsDropDownOpenProperty

Metadata properties set to true

None

Remarks

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. 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

IsMinimized