AcrylicBrush.TintOpacity Propriedade

Definição

Obtém ou define o grau de opacidade da tonalidade de cor.

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 da propriedade

Double

double

A opacidade expressa como um valor entre 0 e 1,0. O valor padrão é 1,0, que é opacidade total. 0 é opacidade transparente.

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

Aplica-se a