Brush.Opacity property

Applies to Windows and Windows Phone

Gets or sets the degree of opacity of a Brush.

Syntax

Public Property Opacity As Double

<brush Opacity="double"/>

Property value

Type: System.Double [.NET] | float64 [C++]

The value of the Opacity property is expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

Brush

 

 

Show:
© 2014 Microsoft. All rights reserved.