Button with type MahApps shows only lower case

This is my button:

<Button
    Name="btnOk"
    Content="OK"
    Style="{StaticResource AccentedSquareButtonStyle}"/>

      

And content

always lowercase when using thisStyle

+3


source to share


1 answer


You must use

Controls:ButtonHelper.PreserveTextCase="True"

to prevent lower case (or upper case on other controls) from appearing.



EDIT

There are changes in the Alpha release (upcoming v1.2.0). It's now easier to change things.

<!-- possible values are: Normal, Upper and Lower -->
Controls:ControlsHelper.ContentCharacterCasing="Normal"

      

+12


source







All Articles