System.Windows.Forms.HtmlElement: Method Members

The methods of System.Windows.Forms.HtmlElement are listed below. For a list of all members, see the HtmlElement Members list.

See Also: Inherited members from System.Object

Public Methods

AppendChild(HtmlElement) : HtmlElement

Adds an element to another element's subtree.

AttachEventHandler(string, EventHandler)

Adds an event handler for a named event on the HTML Document Object Model (DOM).

DetachEventHandler(string, EventHandler)

Removes an event handler from a named event on the HTML Document Object Model (DOM).

override
Equals(object) : bool

Tests if the supplied object is equal to the current element.

Focus()

Puts user input focus on the current element.

GetAttribute(string) : string

Retrieves the value of the named attribute on the element.

GetElementsByTagName(string) : HtmlElementCollection

Retrieves a collection of elements represented in HTML by the specified HTML tag.

override
GetHashCode() : int
Documentation for this section has not yet been entered.
InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement) : HtmlElement

Insert a new element into the Document Object Model (DOM).

InvokeMember(string) : object

Executes an unexposed method on the underlying DOM element of this element.

InvokeMember(string, params object[]) : object

Executes a function defined in the current HTML page by a scripting language.

RaiseEvent(string)

Causes the named event to call all registered event handlers.

RemoveFocus()

Removes focus from the current element, if that element has focus.

ScrollIntoView(bool)

Scrolls through the document containing this element until the top or bottom edge of this element is aligned with the document's window.

SetAttribute(string, string)

Sets the value of the named attribute on the element.