Partager via


EditorFormatDefinition.ForegroundColor Property

Definition

Gets or sets the foreground color for this item.

public:  property Nullable<System::Windows::Media::Color> ForegroundColor {  public:
Nullable<System::Windows::Media::Color> get(); protected:
 void set(Nullable<System::Windows::Media::Color> value); };
public System.Windows.Media.Color? ForegroundColor { get; protected set; }
member this.ForegroundColor : Nullable<System.Windows.Media.Color> with get, set
Public Property ForegroundColor As Nullable(Of Color)

Property Value

The foreground color.

Remarks

If the foreground brush is set, this color will be ignored.

Applies to