Dynamically update Font Size of application with a single trigger in WPF

Posted by Sukan on Stack Overflow See other posts from Stack Overflow or by Sukan
Published on 2010-04-07T09:20:31Z Indexed on 2010/04/07 9:23 UTC
Read the original article Hit count: 233

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about fonts