Share via


IApplicationBar Interface

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

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

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

Syntax

Public Interface IApplicationBar
public interface IApplicationBar

The IApplicationBar type exposes the following members.

Properties

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

Top

Events

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

Top

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.Shell Namespace