At the most basic level, you need to bind the FontSize property of your TextBlocks , etc. to a variable, which you can then change one of three predefined values:
<TextBlock FontFamily="Arial" Text="Sample text" FontSize="{Binding TextSize}" />
However, you will not need to add this text to the text all .
The best solution would be to relate the size of the styles you use, but again, all the text should be styled. If you used an implicit style, you would not need to add a link to the text, but the whole text should look the same. Regardless of whether this problem will or will not depend on your application.
Chrisf
source share