Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

SystemTray.ForegroundColor Property

May 02, 2013

Gets or sets the foreground 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 ForegroundColor { get; set; }
<object>
  <object.ForegroundColor>
    <Color .../>
  </object.ForegroundColor>
</object>

Property Value

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

There is no active PhoneApplicationPage object.

You cannot set the foreground to white. Use a color close to white instead.

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

Windows Phone OS

Supported in: 8.0, 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.