New API for the Silverlight 1.0 Beta
With the substantial number of new features and API added to the Silverlight 1.0 Beta release since the February CTP release, I decided to compile a list of the new API. I've grouped them into feature areas.
- New Inking Support
- Enhanced Error Handling Support
- New Animation, Graphics, and Media Features
- Redesigned Silverlight Control Model
- New Text and Font Support
- Other New Support
See Silverlight 1.0 Beta Enhancements and Converting a WPF/E Application to a Silverlight Scripting Application for other info on changes to the Silverlight programming model.
New Inking Support
For more information about inking in Silverlight, see the following topic: Ink Support In Microsoft Silverlight .
Enhanced Error Handling Support
For more information about error handling in Silverlight scripting applications, see the following topic: Silverlight Application Scripting Error Handling.
New Animation, Graphic, and Media Features
For more information about using animations, graphics, and media in Silverlight scripting applications, see the following topics: Animation Overview, Media Overview, Silverlight Brushes Overview, and Silverlight VideoBrush Overview .
Redesigned Silverlight Control Model (previously the WPFE Control)
| API |
Description |
| Background |
API name changed from BackgroundColor. |
| EnableFramerateCounter |
Gets or sets a value that determines whether to display the current framerate in the hosting browser's status bar. (Microsoft Internet Explorer only) |
| EnableHtmlAccess |
Determines whether the hosted content in the Silverlight control has access to the browser Document Object Model (DOM). |
| InitParams |
Specifies the optional set of user-defined initialization parameters. |
| OnError |
API redesigned to use enhanced error handling support. |
| OnFullScreenChange |
API name changed from FullScreenChanged. |
| OnLoad |
API redesigned to reflect changes to Silverlight control model. |
| OnResize |
API name changed from OnResized. |
| Windowless |
API name changed from WindowlessMode. |
For more information about new and breaking changes on the Silverlight control, see the following topics:
Silverlight Object Models,
Using a Silverlight Control,
Using CreateSilverlight.js and Silverlight.js, and
Resizing a Silverlight Control.
New Text and Font Support
| API |
Description |
| SetFontSource() |
Adds font files in the downloaded content to the object's collection of type faces. |
| FontSize |
Gets or sets the font size for the content in this element. |
| FontStretch |
Gets or sets the font stretch for the content in this element. |
| TextDecorations |
Gets or sets the text decoration for the content in this element. |
For more information on using text in Silverlight scripting applications, see the following topic: Text and Fonts Overview.
Other New Support
--Brian
Silverlight SDK Team