Share via


SilverlightControl.ForegroundColor Property

Gets the foreground color of the control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ForegroundColor As Color
    Get
public virtual Color ForegroundColor { get; }
public:
virtual property Color ForegroundColor {
    Color get ();
}
abstract ForegroundColor : Color
override ForegroundColor : Color
function get ForegroundColor () : Color

Property Value

Type: System.Drawing.Color
A Color object that represents the foreground color of the control.

.NET Framework Security

See Also

Reference

SilverlightControl Class

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace