O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required