ApplicationBar.ForegroundColor Property

July 28, 2014

Gets or sets the foreground color of the Application Bar.

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

'Declaration
Public Property ForegroundColor As Color
<object>
  <object.ForegroundColor>
    <Color .../>
  </object.ForegroundColor>
</object>

Property Value

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

Implements

IApplicationBar.ForegroundColor

ExceptionCondition
ArgumentNullException

The value to set is Nothing.

This property does not return a default color. The value is Nothing 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