Share via


SystemTray.SetForegroundColor Method

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
Public Shared Sub SetForegroundColor ( _
    element As DependencyObject, _
    color As Color _
)
public static void SetForegroundColor(
    DependencyObject element,
    Color color
)
public:
static void SetForegroundColor(
    DependencyObject^ element, 
    Color color
)
static member SetForegroundColor : 
        element:DependencyObject * 
        color:Color -> unit

Parameters

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

SystemTray Class

Microsoft.Phone.Shell Namespace