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 |
Do you know three ways of applying layouts in SilverLight?
What are the different important files that are used in silverlight?
List some of the benefits of using Silverlight
Expression studio orvisual studio, which one better to use for developing silverlight application?
Describe the different layout controls available with the use of Silverlight
How does Silverlight make the Microsoft development system better?
What is the function used to get a reference to an object inside the silverlight control?
Explain the architecture of silverlight?
Explain the procedure of creating hyperlinks in Silverlight application?
What is the difference between Silverlight4 and Silverlight5?
Is it possible to pass parameters to silverlight controls from asp.net pages?
What you must require in order to run silverlight applications on a web server?