共用方式為


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
背景不透明度。

備註

如果傳回 1.0 BackgroundOpacityEmpty為 true。

.NET Framework 安全性

請參閱

參考

TextFormattingRunProperties 類別

Microsoft.VisualStudio.Text.Formatting 命名空間