Dynamically update Font Size of application with a single trigger in WPF
- by Sukan
I have an application which has different font sizes for different controls say Button: 10, TextBlock : 12 etc.
I want to give options to the user where he can select any one of the below say
Normal , Small, Big, Bigger.
Suppose one selects "small" I would want to decrease every distinct font size by 2.
If "Big", I would want to increase every font size by 2.
I hope we can do this using converter sending actual font size as parameter and render as per the selected choice if I am not wrong.
What will be the best option. Sorry if my doubt is absurd or silly.
Thank you.