IApplicationBarMenuItem Interface

IApplicationBarMenuItem Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The interface from which ApplicationBarMenuItem inherits.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public interface IApplicationBarMenuItem

The IApplicationBarMenuItem type exposes the following members.

Public propertyIsEnabledGets or sets the enabled status of the menu item.
Public propertyTextGets or sets the string to display as the menu item.

Public eventClickOccurs when the user taps the menu item.

In addition to the icon buttons, you can add one or more text-based menu items. These items are displayed in a list that slides up from underneath the icon buttons when the user clicks the ellipsis. The menu items are used for application actions that are less frequently used, or for actions that are difficult to convey with only an icon. For more information, see App bar for Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft