Interacting with HTML Elements

Silverlight includes a set of managed classes that replicate the HTML document object model (DOM) in managed code. These classes let your Silverlight code interact with the HTML content on the same page. Depending on the scenario, this interaction may involve reading a control value, updating text, or adding new HTML elements to the page.

The classes you need to perform these feats are found in the System.Windows.Browser namespace and are listed in Table 17-1. You'll learn about them in the following sections.

imageimage

Getting ...

Get Pro Silverlight 5 in VB now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.