ClassificationFormatDefinition.ForegroundOpacity Property
Gets or sets the opacity of the foreground.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Dichiarazione
Public Property ForegroundOpacity As Nullable(Of Double)
Get
Protected Set
public Nullable<double> ForegroundOpacity { get; protected set; }
public:
property Nullable<double> ForegroundOpacity {
Nullable<double> get ();
protected: void set (Nullable<double> value);
}
member ForegroundOpacity : Nullable<float> with get, set
function get ForegroundOpacity () : Nullable<double>
protected function set ForegroundOpacity (value : Nullable<double>)
Property Value
Type: System.Nullable<Double>
The foreground opacity.
Remarks
This value overrides the opacity settings in the ForegroundBrush property if this classification format has a higher priority.
.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.