ApplicationBar.StateChanged Event

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

Occurs when the user opens or closes the Application Bar by clicking the ellipsis.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event StateChanged As EventHandler(Of ApplicationBarStateChangedEventArgs)
public event EventHandler<ApplicationBarStateChangedEventArgs> StateChanged
<object StateChanged="EventHandler<ApplicationBarStateChangedEventArgs>" .../>

Implements

IApplicationBar..::.StateChanged

Remarks

The handler for this event receives a ApplicationBarStateChangedEventArgs object. When the user opens the Application Bar by clicking the ellipsis, the icon buttons and their labels appear. The menu items may appear, depending on the value of the IsMenuEnabled property.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ApplicationBar Class

Microsoft.Phone.Shell Namespace

Other Resources

How to create an app bar using XAML for Windows Phone

App bar for Windows Phone