Mode Property

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.

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

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.

NoteNote:

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft