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)

public Nullable<double> ForegroundOpacity { get; protected set; }

Property Value

Type: System.Nullable<Double>
The foreground opacity.

This value overrides the opacity settings in the ForegroundBrush property if this classification format has a higher priority.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft