SurfaceColors.ToggleButtonBackgroundCheckedPressedBrushKey Property

Gets the resource key for the brush that is used as the background color of a SurfaceToggleButton control in both the checked (Checked) and touched (Pressed) states.

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


public static ResourceKey ToggleButtonBackgroundCheckedPressedBrushKey { get; }
/** @property */
public static ResourceKey get_ToggleButtonBackgroundCheckedPressedBrushKey ()

public static function get ToggleButtonBackgroundCheckedPressedBrushKey () : ResourceKey

Property Value

Returns ResourceKey.

For information about using Surface colors that are specific to the SurfaceToggleButton class, see the ToggleButtonBackgroundCheckedBrush 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.