Udostępnij za pośrednictwem


TextFormattingRunProperties.ForegroundBrush Property

Definition

Gets the foreground brush.

public:
 virtual property System::Windows::Media::Brush ^ ForegroundBrush { System::Windows::Media::Brush ^ get(); };
public override System.Windows.Media.Brush ForegroundBrush { get; }
member this.ForegroundBrush : System.Windows.Media.Brush
Public Overrides ReadOnly Property ForegroundBrush As Brush

Property Value

The foreground brush.

Remarks

Returns a transparent brush if the foreground brush is not currently set.

Applies to