Share via


_CommandBars.AdaptiveMenus Property

Checks or unchecks the check box control for the option to show menus in Microsoft Office as full or personalized.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property AdaptiveMenus As Boolean
    Get
    Set
'Usage
Dim instance As _CommandBars
Dim value As Boolean

value = instance.AdaptiveMenus

instance.AdaptiveMenus = value
bool AdaptiveMenus { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if adaptive menus are enabled for all applications in Microsoft Office; False otherwise.

To set this control in any application, do the following:

  1. On the Tools menu, select Customize.

  2. Select the Options tab.

  3. The Always show full menus option is located in the Personalized Menus and Toolbars section.

See Also

Reference

_CommandBars Interface

_CommandBars Members

Microsoft.Office.Core Namespace