Share via

ApplicationBar.Opacity Property

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

Gets or sets the opacity of the Application Bar.

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


Public Property Opacity As Double
public double Opacity { get; set; }
<object Opacity="double" .../>

Property Value

Type: System..::.Double
The opacity of the Application Bar.




Expected values are between 0.0 and 1.0. A value of 0.0 makes the Application Bar completely transparent, while a value of 1.0 makes the Application Bar completely opaque. The default value is 1.0.

If the opacity of the Application Bar is set to 1.0, the currently displayed page is resized to the area of the screen not occupied by the Application Bar. If the opacity value is less than 1.0, the Application Bar is overlaid over the contents of the page, and the page is not resized.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


ApplicationBar Class

Microsoft.Phone.Shell Namespace

Other Resources

App bar for Windows Phone