Share via


AcrylicBrush.TintOpacity Property

Definition

Gets or sets the degree of opacity of the color tint.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.AcrylicBrush.TintOpacity (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property double TintOpacity { double get(); void set(double value); };
double TintOpacity();

void TintOpacity(double value);
public double TintOpacity { get; set; }
var double = acrylicBrush.tintOpacity;
acrylicBrush.tintOpacity = double;
Public Property TintOpacity As Double
<acrylicBrush TintOpacity="double"/>

Property Value

Double

double

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

Applies to