SurfaceColors.Accent1Color Property

Gets one of the four colors that can be used as an accent color in your application.

Namespace: Microsoft.Surface.Presentation
Assembly: Microsoft.Surface.Presentation (in Microsoft.Surface.Presentation)


public static Color Accent1Color { get; }
/** @property */
public static Color get_Accent1Color ()

public static function get Accent1Color () : Color

Property Value

Returns Color.

For information about using Surface accent colors, see the Accent1Brush property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



Operating System (OS)Windows 7
Software Developer Kit (SDK)Surface 2.0
.NET Framework 4
Developer environmentVisual Studio 2010, Express or full edition
Microsoft Expression Blend 4.0 (optional)
End-user hardwareDevices made for Surface 2.0, or
Windows Touch computers

Did you find this information useful? Please send us your suggestions and comments.

© Microsoft Corporation. All rights reserved.