MaterialLabel

November 10, 2023 ยท View on GitHub

Labels help make writing legible and beautiful.
View Material Design documentation

Screenshot

Example

<material3:MaterialLabel
    Type="DisplayLarge"
    Text="Display Large" />

<material3:MaterialLabel
    Type="DisplayMedium"
    Text="Display Medium" />

Documentation

This control inherits from the Label control, so it inherits all the properties of that control.

Property Type

This property sets the label type, automatically handling the label aspect (FontFamily, CharacterSpacing and FontSize).

Property FontFamilyRegular

This property is to set the regular font family that will be used automatically by the Type property.

Property FontFamilyMedium

This property is to set the medium font family that will be used automatically by the Type property.