TextFormattingRunProperties.BackgroundOpacity 属性

返回背景的不透明度。

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

语法

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

属性值

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

备注

,如果 BackgroundOpacityEmpty 为 true,则返回 1.0。

.NET Framework 安全性

请参阅

参考

TextFormattingRunProperties 类

Microsoft.VisualStudio.Text.Formatting 命名空间