ApplicationBar.BackgroundColor Property

May 11, 2014

Gets or sets the background color of the Application Bar.

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

public Color BackgroundColor { get; set; }
<object>
  <object.BackgroundColor>
    <Color .../>
  </object.BackgroundColor>
</object>

Property Value

Type: System.Windows.Media.Color
The background color of the Application Bar.

Implements

IApplicationBar.BackgroundColor

ExceptionCondition
ArgumentNullException

The value to set is null.

This property does not return a default color. The value is null until it is set by the application.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft