TextFormattingRunProperties.ForegroundOpacity 属性

获取一个前景的不透明度。

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

语法

声明
Public ReadOnly Property ForegroundOpacity As Double
public double ForegroundOpacity { get; }
public:
property double ForegroundOpacity {
    double get ();
}
member ForegroundOpacity : float with get
function get ForegroundOpacity () : double

属性值

类型:Double
前景的不透明度。

备注

,如果 ForegroundOpacityEmpty 是 true,则返回 1.0。

.NET Framework 安全性

请参阅

参考

TextFormattingRunProperties 类

Microsoft.VisualStudio.Text.Formatting 命名空间