System.Windows.Forms.HtmlElement.Document Property

Gets the System.Windows.Forms.HtmlDocument to which this element belongs.

Syntax

public HtmlDocument Document { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Some HTML pages can host frames using the FRAMESET tags. In this case, each individual FRAME element will contain its own instance of System.Windows.Forms.HtmlDocument. This property is most useful when you have received a reference to an element in an event handler from the System.Windows.Forms.HtmlElementEventArgs, and need to perform some action on the document in which the element resides.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0