Partager via


EditorFormatDefinition.ForegroundColor, propriété

Obtient ou définit la couleur de premier plan pour cet élément.

Espace de noms :  Microsoft.VisualStudio.Text.Classification
Assembly :  Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntaxe

'Déclaration
Public Property ForegroundColor As Nullable(Of Color)
public Nullable<Color> ForegroundColor { get; protected set; }
public:
property Nullable<Color> ForegroundColor {
    Nullable<Color> get ();
    protected: void set (Nullable<Color> value);
}
member ForegroundColor : Nullable<Color> with get, set
function get ForegroundColor () : Nullable<Color>
protected function set ForegroundColor (value : Nullable<Color>)

Valeur de propriété

Type : Nullable<Color>
couleur de premier plan ;

Notes

Si le pinceau de premier plan est défini, cette couleur sera ignorée.

Sécurité .NET Framework

Voir aussi

Référence

EditorFormatDefinition Classe

Microsoft.VisualStudio.Text.Classification, espace de noms