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
'Declaration
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
Property Value
Type: System.Double
The opacity of the background.
Remarks
Returns 1.0 if BackgroundOpacityEmpty is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.