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
'Déclaration
Public ReadOnly Property ForegroundOpacity As Double
Get
public double ForegroundOpacity { get; }
public:
property double ForegroundOpacity {
double get ();
}
member ForegroundOpacity : float
function get ForegroundOpacity () : double
Property Value
Type: System.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.