Reputation: 28586
If I can't use CSS, how can I specify body font for all the site in Silverlight 4?
body {
color: #31404C;
font-family: Arial;
font-size: 10px;
}
Upvotes: 1
Views: 107
Reputation: 62407
Set the font properties for the root control of your page. If you want this to be standard across several pages (such as in a navigation-based application), you can specify the relevant styles in static resources and then bind the control's properties or overall style to those resources.
This StackOverflow question provides some help on application-wide font resources. That question also includes a link to this useful resource on Control Styles.
Upvotes: 2