IApplicationBar.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)

Syntax

Property Mode As ApplicationBarMode
ApplicationBarMode Mode { get; set; }

Property Value

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

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

IApplicationBar Interface

Microsoft.Phone.Shell Namespace

DefaultSize

MiniSize

Other Resources

App bar for Windows Phone