ApplicationBarStateChangedEventArgs Constructor
Collapse the table of content
Expand the table of content

ApplicationBarStateChangedEventArgs Constructor

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

Creates a new instance of the ApplicationBarStateChangedEventArgs class.

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

public ApplicationBarStateChangedEventArgs(
	bool isMenuVisible
)

Parameters

isMenuVisible
Type: System.Boolean
Whether or not the optional Application Bar menu items are visible.

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.

The isMenuVisible parameter is set automatically when the user opens or closes the menu. It cannot be set by the application to show the menu programmatically. For more information, see IsMenuEnabled.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft