Answer Posted / Manish Kumar Srivastava
Yes, you can use external fonts in Silverlight by embedding the font as a resource and using the FontFamily property to apply it. Here's an example:
- Add your custom font file (.ttf or .otf) to your project as a resource.
- Use XAML markup to reference the embedded font:
<FontFamily x:Key='CustomFont'>fonts/YourFontName.ttf#YourFontName</FontFamily>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category