Freigeben über


ClassificationFormatDefinition.ForegroundOpacity-Eigenschaft

Ruft die Durchlässigkeit des Vordergrunds ab oder legt diese fest.

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

Syntax

'Declaration
Public Property ForegroundOpacity As Nullable(Of Double)
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>)

Eigenschaftswert

Typ: Nullable<Double>
Die Durchlässigkeit des Vordergrunds.

Hinweise

Dieser Wert überschreibt die Durchlässigkeit von Einstellungen in der ForegroundBrush-Eigenschaft, wenn dieses Klassifizierungsformat eine höhere Priorität besitzt.

.NET Framework-Sicherheit

Siehe auch

Referenz

ClassificationFormatDefinition Klasse

Microsoft.VisualStudio.Text.Classification-Namespace