Ich habe Textblock mit dem Text "km2":WPF: Macht in XAML
<TextBlock >Area(km2)</TextBlock>
Wie kann ich "2" kleine und heigher solche Exponenten wir sehen müssen solches Bild machen:
Ich habe Textblock mit dem Text "km2":WPF: Macht in XAML
<TextBlock >Area(km2)</TextBlock>
Wie kann ich "2" kleine und heigher solche Exponenten wir sehen müssen solches Bild machen:
Sie können Inlines
erstellen und Typography.Variants
entsprechend festlegen.
<TextBlock><Run>Area(km</Run><Run Typography.Variants="Superscript">2</Run><Run>)</Run></TextBlock>
ein XAML-Beispiel würde helfen =) –
@HighCore Bereits getan;) –
Der Name "Typography" existiert nicht im Namespace "http://schemas.microsoft.com/client/2007". –
<TextBlock Text="Area(km²)"/>
scheint zu funktionieren:
'WPF: Macht in XAML' - Das ist, was ich rede. –