Share via


AcrylicBrush.TintLuminosityOpacity Property

Definition

Gets or sets the degree of opacity of the color's luminosity tint.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property IReference<double> ^ TintLuminosityOpacity { IReference<double> ^ get(); void set(IReference<double> ^ value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")]
IReference<double> TintLuminosityOpacity();

void TintLuminosityOpacity(IReference<double> value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")]
public System.Nullable<double> TintLuminosityOpacity { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")] set; }
Public Property TintLuminosityOpacity As Nullable(Of Double)

Property Value

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

Applies to