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

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
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System.Windows.Browser..::.HtmlPage
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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

See Also

Reference

Tags :


Page view tracker