ClassificationFormatDefinition.ForegroundOpacity 属性

获取或设置前景的不透明度。

命名空间:  Microsoft.VisualStudio.Text.Classification
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Public Property ForegroundOpacity As Nullable(Of Double)
public Nullable<double> ForegroundOpacity { get; protected set; }
public:
property Nullable<double> ForegroundOpacity {
    Nullable<double> get ();
    protected: void set (Nullable<double> value);
}
member ForegroundOpacity : Nullable<float> with get, set
function get ForegroundOpacity () : Nullable<double>
protected function set ForegroundOpacity (value : Nullable<double>)

属性值

类型:Nullable<Double>
前景不透明度。

备注

,如果分类格式有更高的优先级,此值会重写在 ForegroundBrush 属性的不透明度设置。

.NET Framework 安全性

请参阅

参考

ClassificationFormatDefinition 类

Microsoft.VisualStudio.Text.Classification 命名空间