Colors.Transparent Property

Gets the system-defined color that has the ARGB value of #00FFFFFF.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public static Color Transparent { get; }
<object property="Transparent"/>

Property Value

Type: System.Windows.Media.Color
A Color that has the ARGB value of #00FFFFFF.

Transparent as a color generally dictates behavior that is different from having a null Brush. For instance, elements where a Background is set as Transparent are hit-testable, whereas objects with a Background that is using a null Brush is not hit-testable.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions