共用方式為


EditorFormatDefinition.ForegroundBrush Property

Definition

Gets or sets the foreground brush for this item.

public:  property System::Windows::Media::Brush ^ ForegroundBrush {  public:
System::Windows::Media::Brush ^ get(); protected:
 void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush ForegroundBrush { get; protected set; }
member this.ForegroundBrush : System.Windows.Media.Brush with get, set
Public Property ForegroundBrush As Brush

Property Value

The foreground brush.

Remarks

This brush will override any foreground color that is set.

Applies to