Transparent Property

Colors.Transparent Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Shared ReadOnly Property Transparent As Color
<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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft