Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlWindow Methods

The HtmlWindow type exposes the following members.

  Name Description
Public method Alert Displays a message box.
Public method AttachEventHandler Adds an event handler for the named HTML DOM event.
Public method Close Closes the window.
Public method Confirm Displays a dialog box with a message and buttons to solicit a yes/no response.
Public method DetachEventHandler Removes the named event handler.
Public method Equals Tests the object for equality against the current object. (Overrides Object.Equals(Object).)
Public method Focus Puts the focus on the current window.
Public method GetHashCode Serves as the default hash function. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MoveTo(Point) Moves the window to the specified coordinates on the screen.
Public method MoveTo(Int32, Int32) Moves the window to the specified coordinates on the screen.
Public method Navigate(String) Displays or downloads the new content located at the specified URL.
Public method Navigate(Uri) Displays a new document in the current window.
Public method Open(String, String, String, Boolean) Displays a file in the named window.
Public method Open(Uri, String, String, Boolean) Displays a file in the named window.
Public method OpenNew(String, String) Displays a file in a new window.
Public method OpenNew(Uri, String) Displays a file in a new window.
Public method Prompt Shows a dialog box that displays a message and a text box to the user.
Public method RemoveFocus Takes focus off of the current window.
Public method ResizeTo(Size) Changes the size of the window to the specified dimensions.
Public method ResizeTo(Int32, Int32) Changes the size of the window to the specified dimensions.
Public method ScrollTo(Point) Moves the window to the specified coordinates.
Public method ScrollTo(Int32, Int32) Scrolls the window to the designated position.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.