Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight
Silverlight 3
HtmlPage Class
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
HtmlPage Class

Permits access to, and manipulation of, the browser's Document Object Model (DOM).

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)
Visual Basic (Declaration)
Public NotInheritable Class HtmlPage
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class HtmlPage

Two Silverlight classes can be used to access and manipulate the DOM: HtmlPage and HtmlDocument.

When the Silverlight plug-in's enableHtmlAccess property is set to false, any attempt to use the HtmlPage class fails with a NotSupportedException stating that the feature is disabled.

For information about the enableHtmlAccess property, see Security Settings in HTML Bridge.

System..::.Object
  System.Windows.Browser..::.HtmlPage
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker