This topic has not yet been rated - Rate this topic

Colors.Transparent Property

April 12, 2014

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.
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.