This topic has not yet been rated - Rate this topic

IApplicationBar Interface

Windows Phone

March 22, 2012

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.

  Name Description
Public property BackgroundColor Gets or sets the background color of the Application Bar.
Public property Buttons Gets the list of icon buttons that appear on the Application Bar.
Public property DefaultSize Gets the distance that the Application Bar extends into a page when the Mode property is set to Default.
Public property ForegroundColor Gets or sets the foreground color of the Application Bar.
Public property IsMenuEnabled Gets 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 property IsVisible Gets or sets a value that indicates whether the Application Bar is visible.
Public property MenuItems Gets the list of the menu items that appear on the Application Bar.
Public property MiniSize Gets the distance that the Application Bar extends into a page when the Mode property is set to Minimized.
Public property Mode Gets or sets the size of the Application Bar.
Public property Opacity Gets or sets the opacity of the Application Bar.
Top
  Name Description
Public event StateChanged Occurs 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 Application Bar Overview for Windows Phone.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)