HtmlElement Methods

 

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

NameDescription
System_CAPS_pubmethodAppendChild(HtmlElement)

Adds an element to another element's subtree.

System_CAPS_pubmethodAttachEventHandler(String, EventHandler)

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

System_CAPS_pubmethodDetachEventHandler(String, EventHandler)

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

System_CAPS_pubmethodEquals(Object)

Tests if the supplied object is equal to the current element.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodFocus()

Puts user input focus on the current element.

System_CAPS_pubmethodGetAttribute(String)

Retrieves the value of the named attribute on the element.

System_CAPS_pubmethodGetElementsByTagName(String)

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

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement)

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

System_CAPS_pubmethodInvokeMember(String)

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

System_CAPS_pubmethodInvokeMember(String, Object[])

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

System_CAPS_pubmethodRaiseEvent(String)

Causes the named event to call all registered event handlers.

System_CAPS_pubmethodRemoveFocus()

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

System_CAPS_pubmethodScrollIntoView(Boolean)

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

System_CAPS_pubmethodSetAttribute(String, String)

Sets the value of the named attribute on the element.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: