Skip to content

How to change all uppercased by MahApps fonts back to normal in the whole application? #4092

Answered by punker76
herczegzoltan asked this question in Q&A
Discussion options

You must be logged in to vote

The header of a ListView can be changed like this

<Style BasedOn="{StaticResource MahApps.Styles.GridViewColumnHeader}" TargetType="GridViewColumnHeader">
    <Setter Property="mah:ControlsHelper.ContentCharacterCasing" Value="Normal" />
</Style>

On a Button or any other ContentControl which uses this attached property this can be done like this

<Button mah:ControlsHelper.ContentCharacterCasing="Normal" />

The mah namespace is xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@herczegzoltan
Comment options

Answer selected by herczegzoltan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants