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

'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>)

Property Value

Type: 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

See Also

Reference

ClassificationFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace