Share via

HtmlPage.Document Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the browser's document object.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)


Public Shared ReadOnly Property Document As HtmlDocument
public static HtmlDocument Document { get; }

Property Value

Type: System.Windows.Browser.HtmlDocument
A reference to the browser's document object.


The return value is strongly typed as an HtmlDocument, because the browser's document object is a first-class type in Silverlight.

Version Information


Supported in: 5, 4, 3


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