IApplicationBar Interface

July 28, 2014

Defines events and properties for the Application Bar in Windows Phone applications.

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

public interface IApplicationBar

The IApplicationBar type exposes the following members.

  NameDescription
Public propertyBackgroundColorGets or sets the background color of the Application Bar.
Public propertyButtonsGets the list of icon buttons that appear on the Application Bar.
Public propertyDefaultSizeGets the distance that the Application Bar extends into a page when the Mode property is set to Default.
Public propertyForegroundColorGets or sets the foreground color of the Application Bar.
Public propertyIsMenuEnabledGets or sets a value that indicates whether the user sees the (optional) menu items when they click the ellipsis to expand the Application Bar.
Public propertyIsVisibleGets or sets a value that indicates whether the Application Bar is visible.
Public propertyMenuItemsGets the list of the menu items that appear on the Application Bar.
Public propertyMiniSizeGets the distance that the Application Bar extends into a page when the Mode property is set to Minimized.
Public propertyModeGets or sets the size of the Application Bar.
Public propertyOpacityGets or sets the opacity of the Application Bar.
Top

  NameDescription
Public eventStateChangedOccurs when the user opens or closes the Application Bar by clicking the ellipsis.
Top

IApplicationBar is the interface that ApplicationBar derives from. An Application Bar contains between one and four buttons, an ellipsis, and a set of text menu items. For more information, see App bar for Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft