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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。