HtmlWindow Methods
.NET Framework 4.5
The HtmlWindow type exposes the following members.
| Name | Description | |
|---|---|---|
|
Alert | Displays a message box. |
|
AttachEventHandler | Adds an event handler for the named HTML DOM event. |
|
Close | Closes the window. |
|
Confirm | Displays a dialog box with a message and buttons to solicit a yes/no response. |
|
DetachEventHandler | Removes the named event handler. |
|
Equals | Tests the object for equality against the current object. (Overrides Object.Equals(Object).) |
|
Focus | Puts the focus on the current window. |
|
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MoveTo(Point) | Moves the window to the specified coordinates on the screen. |
|
MoveTo(Int32, Int32) | Moves the window to the specified coordinates on the screen. |
|
Navigate(String) | Displays or downloads the new content located at the specified URL. |
|
Navigate(Uri) | Displays a new document in the current window. |
|
Open(String, String, String, Boolean) | Displays a file in the named window. |
|
Open(Uri, String, String, Boolean) | Displays a file in the named window. |
|
OpenNew(String, String) | Displays a file in a new window. |
|
OpenNew(Uri, String) | Displays a file in a new window. |
|
Prompt | Shows a dialog box that displays a message and a text box to the user. |
|
RemoveFocus | Takes focus off of the current window. |
|
ResizeTo(Size) | Changes the size of the window to the specified dimensions. |
|
ResizeTo(Int32, Int32) | Changes the size of the window to the specified dimensions. |
|
ScrollTo(Point) | Moves the window to the specified coordinates. |
|
ScrollTo(Int32, Int32) | Scrolls the window to the designated position. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |