ApplicationBar.Mode Property

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

Gets or sets the size of the Application Bar.

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

Syntax

Public Property Mode As ApplicationBarMode
public ApplicationBarMode Mode { get; set; }
<object Mode="ApplicationBarMode" .../>

Property Value

Type: Microsoft.Phone.Shell..::.ApplicationBarMode
One of the enumeration values that indicates the size of the Application Bar.

Implements

IApplicationBar..::.Mode

Remarks

Mode specifies the size of the Application Bar when it first appears on a page. It also specifies the size that the Application Bar returns to after the user expands it and collapses it using the ellipsis. The default value is Default.

Use the mini size on pages where you want to maximize screen space, such as on panorama pages.

Note

On pages that support landscape orientation, when in landscape orientation, the Application Bar appears with the default size regardless of the Mode value, to improve usability.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ApplicationBar Class

Microsoft.Phone.Shell Namespace

DefaultSize

MiniSize

Other Resources

How to create an app bar using XAML for Windows Phone

App bar for Windows Phone