Can we use external fonts in Silverlight? How
Answer / 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 |
what is easing functions in silverlight?
What you must require in order to run silverlight applications on a web server?
what is name scope in silverlight?
What are the ways to display text with Silverlight?
List the different components used in Silverlight?
what type of applications can be developed using silverlight?
What are the methodologies used in Silverlight?
what are the controls provided in silverlight for line-of-business (lob) applications?
What do you know by silverlight runtime?
Is Silverlight supported by all major browsers?
What are the different classes used in visual tree?
Explain with example how to change the default page of the silverlight application.