TextFormattingRunProperties.BackgroundOpacity Property

Returns the opacity of the background.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

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

Property Value

Type: System.Double
The opacity of the background.

Remarks

Returns 1.0 if BackgroundOpacityEmpty is true.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace