SystemTray.GetForegroundColor Method

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

Syntax

'Declaration
Public Shared Function GetForegroundColor ( _
    element As DependencyObject _
) As Color
public static Color GetForegroundColor(
    DependencyObject element
)
public:
static Color GetForegroundColor(
    DependencyObject^ element
)
static member GetForegroundColor : 
        element:DependencyObject -> Color

Parameters

Return Value

Type: System.Windows.Media.Color

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