Skip to content

TextElementMarkupExtensions.FontWeight<T> method

Sets the font weight.

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

The same element for chaining.

Sets: TextElement.FontWeight