Share via


AcrylicBrush.TintOpacity Property

Definition

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

public:
 property double TintOpacity { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
double TintOpacity();

void TintOpacity(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
double TintOpacity();

void TintOpacity(double value);
public double TintOpacity { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")]
public double TintOpacity { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintOpacity")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange")] 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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

Applies to