Skip to content

ControlExtensions.SemiBold method (1 of 2)

Sets the font weight to semi-bold.

public static TextBlock SemiBold(this TextBlock textBlock)
parameter description
textBlock Target text block.

The text block for chaining.

Sets: TextElement.FontWeight


ControlExtensions.SemiBold<T> method (2 of 2)

Section titled “ControlExtensions.SemiBold<T> method (2 of 2)”

Sets the font weight to semi-bold.

public static T SemiBold<T>(this T control)
where T : Control
parameter description
T Control type.
control Target control.

The control for chaining.