Skip to content

TextElementMarkupExtensions class

Generated fluent setters and event subscriptions for TextElement.

Guide: C# Markup guide

public static class TextElementMarkupExtensions
name description
static FontFamily<T>(…) Sets the font family; an empty value follows the theme’s font family.
static FontSize<T>(…) Sets the font size.
static FontStyle<T>(…) Sets the font style, which selects the family’s italic face.
static FontWeight<T>(…) Sets the font weight.
static Foreground<T>(…) Sets the foreground (text) color.