Embedding Custom Fonts in XAML
Adding custom font to Any control in Silverlight/WPF.
- Add fonts to fonts directory in your Application(Web/Desktop)
- In the Font-family Field just refer Fontfilename#FontName.
syntax: FontFamily="fontfile.ttf#fontname".
How to find font name->just double click on ttf file, first line will have fontname.
OUTPUT:

No comments:
Post a Comment