Condividi tramite


ClassificationFormatDefinition.BackgroundOpacity Property

Gets or sets the opacity of the background.

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

Syntax

'Dichiarazione
Public Property BackgroundOpacity As Nullable(Of Double)
    Get
    Protected Set
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>)

Property Value

Type: System.Nullable<Double>
The opacity.

Remarks

This value will override the opacity settings in the BackgroundBrush property if this classification format has a higher priority.

.NET Framework Security

See Also

Reference

ClassificationFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace