Can we use external fonts in Silverlight? How



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

Post New Answer

More Microsoft Silverlight Interview Questions

what is easing functions in silverlight?

1 Answers   Microsoft,


What you must require in order to run silverlight applications on a web server?

1 Answers  


what is name scope in silverlight?

1 Answers   Microsoft,


What are the ways to display text with Silverlight?

1 Answers  


List the different components used in Silverlight?

1 Answers  


what type of applications can be developed using silverlight?

1 Answers   Microsoft,


What are the methodologies used in Silverlight?

1 Answers   Wipro,


what are the controls provided in silverlight for line-of-business (lob) applications?

1 Answers   Microsoft,


What do you know by silverlight runtime?

1 Answers  


Is Silverlight supported by all major browsers?

1 Answers  


What are the different classes used in visual tree?

1 Answers  


Explain with example how to change the default page of the silverlight application.

1 Answers  


Categories