Skip to main content

TextBlock

Description​

Fluence TextBlock presents text using the Fluent typography ramp.

Use it for read-only text that should follow the Fluent typography ramp.

TextBlock in light mode TextBlock in dark mode

Example usage​

<fluence:TextBlock Text="Section heading" Typography="Subtitle" />

State and behavior​

Typography resources change the text style; theme changes update its foreground.

Reference​