Skip to content

TextElementMarkupExtensions.Foreground<T> method

Sets the foreground (text) color.

public static T Foreground<T>(this T target, Color value)
where T : TextElement
parameter description
T Receiver type.
target Target TextElement.
value Value assigned to Foreground.

The same element for chaining.

Sets: TextElement.Foreground