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
‘선언
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
- 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.