Compartir a través de


AcrylicBrush.TintOpacity Propiedad

Definición

Obtiene o establece el grado de opacidad del tono de color.

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"/>

Valor de propiedad

Double

double

Opacidad expresada como un valor entre 0 y 1,0. El valor predeterminado es 1.0, que es opacidad completa. 0 es opacidad transparente.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

Se aplica a