Edit

Share via


CommandBar.AdaptiveMenu Property

Definition

Determines if an individual menu is enabled to use adaptive menus.

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

Property Value

Remarks

This property returns True if an individual menu is enabled to use adaptive menus; False if not.

This property will not function while the AdaptiveMenus property is set to False.

This property checks or unchecks the check box control for the option to show an individual menu as full or personalized. Only recently used submenus show up in a menu if this property is set to True. All submenus show up if this property is set to False.

This property works only when the specified command bar is the MSOBarTypePopup. A runtime error is returned when this property is used with another command bar type such as MSOBarTypeMenuBar.

Applies to