BackgroundColor Property
Collapse the table of content
Expand the table of content

SystemTray.BackgroundColor Property

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

Gets or sets the background color of the system tray on the current application page.

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

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

Property Value

Type: System.Windows.Media.Color
The background color of the system tray on the current application page.

ExceptionCondition
InvalidOperationException

There is no active PhoneApplicationPage object.

The system tray is also referred to as the status bar.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft