I have text block with text "km2":
<TextBlock >Area(km2)</TextBlock>
How can I make "2" small and heigher such exponent I need view such on picture:
I have text block with text "km2":
<TextBlock >Area(km2)</TextBlock>
How can I make "2" small and heigher such exponent I need view such on picture:
You can create Inlines
, and set Typography.Variants
appropriately.
<TextBlock><Run>Area(km</Run><Run Typography.Variants="Superscript">2</Run><Run>)</Run></TextBlock>
© 2022 - 2024 — McMap. All rights reserved.
WPF: Power in XAML
- That's what I'm talking about. – Recitative