AcrylicBrush.TintLuminosityOpacity 属性

定义

获取或设置颜色亮度色调的不透明度。

public:
 property IReference<double> ^ TintLuminosityOpacity { IReference<double> ^ get(); void set(IReference<double> ^ value); };
/// [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")]
/// [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);
public System.Nullable<double> TintLuminosityOpacity { [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")]
public System.Nullable<double> TintLuminosityOpacity { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToZeroOneRange_Nullable")] set; }
var iReference = acrylicBrush.tintLuminosityOpacity;
acrylicBrush.tintLuminosityOpacity = iReference;
Public Property TintLuminosityOpacity As Nullable(Of Double)

属性值

表示为介于 0 和 1.0 之间的值的不透明度。 默认值为 1.0,表示完全不透明度。 0 表示透明不透明度。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

适用于