Skip to content

GlyphElementMarkupExtensions.Foreground method

Sets the foreground color, backed by ForegroundProperty so it participates in the same inheritance chain as text-bearing ancestors.

public static GlyphElement Foreground(this GlyphElement target, Color value)
parameter description
target Target GlyphElement.
value Value assigned to Foreground.

The same element for chaining.

Sets: GlyphElement.Foreground