Compartilhar via


Propriedade ClassificationFormatDefinition.BackgroundOpacity

Obtém ou define a opacidade do plano de fundo.

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

Sintaxe

'Declaração
Public Property BackgroundOpacity As Nullable(Of Double)
public Nullable<double> BackgroundOpacity { get; protected set; }
public:
property Nullable<double> BackgroundOpacity {
    Nullable<double> get ();
    protected: void set (Nullable<double> value);
}
member BackgroundOpacity : Nullable<float> with get, set
function get BackgroundOpacity () : Nullable<double>
protected function set BackgroundOpacity (value : Nullable<double>)

Valor de propriedade

Tipo: Nullable<Double>
A opacidade.

Comentários

Esse valor substituirá as configurações de opacidade na propriedade BackgroundBrush se esse formato de classificação tem uma prioridade mais alta.

Segurança do .NET Framework

Consulte também

Referência

ClassificationFormatDefinition Classe

Namespace Microsoft.VisualStudio.Text.Classification