TextFormattingRunProperties.ForegroundOpacity Property
Gets the opacity of the foreground.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public ReadOnly Property ForegroundOpacity As Double
public double ForegroundOpacity { get; }
public:
property double ForegroundOpacity {
double get ();
}
member ForegroundOpacity : float with get
function get ForegroundOpacity () : double
Property Value
Type: Double
The opacity of the foreground.
Remarks
Returns 1.0 if ForegroundOpacityEmpty 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.