Is it possible to set a font for a screen in wpf. I mean if i am able to set a font property to Tahoma, all the text[including user controls] displayed in that particular screen uses the font Tahoma. Right now i am manually changing the fonts of all the text elements.
Thanks,
Generally if you set the
FontFamilyof a Window to Tahoma, the text in the majority of controls shoud use that font because of property value inheritance. For exampleButtonandTextBlockshould do that.Anyway there are few controls such as
StatusBar,Menu, andToolTipthat set internally their font type to the font system setting (which the user can change with the Window Control Panel). As a consequence these elements will ignore the font settings in the window.