You can set the FontSize at Paragraph level, but FontFamily, FontWeight, FontStyle and a few other properties are available only at Span level. This is how they can be set:
If you have any other questions, feel free to get back to us.
All the best,
Iva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Is there a way to do it code-behind? I tried to set it in the document, but I cannot find the property.
0
Iva Toteva
Telerik team
answered on 29 Oct 2010, 12:24 PM
Hello Tj,
We have planned to introduce properties to change the default font settings in the next official release (in a couple of weeks).
Until then, you can set them in code-behind like this:
For Q2 2010 SP2:
firstSpan.FontFamily = newFontFamily("Comic sans MS");
firstSpan.FontSize = 20;
});
This piece of code can be added in your handler of the Loaded event, for example.
If you have any other questions, feel free to contact us again.
Greetings,
Iva
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items