次の方法で共有


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

'宣言
Public Property ForegroundOpacity As Nullable(Of Double)
    Get
    Protected Set
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: System.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