IWindow
public interface IWindow : IEventTarget, IGlobalEventHandlers, IWindowEventHandlers, IWindowTimers, IDisposable
The interface for a browsing window element.
https://developer.mozilla.org/en-US/docs/Web/API/Window
Gets a reference to the document that the window contains.
Gets the history of the current window.
Gets if the window has been closed.
Gets the location of the current document.
Gets or sets the name of the window.
Gets the user-agent information.
Gets the height of the outside of the browser window.
Gets the width of the outside of the browser window.
Gets the proxy to the current browsing context.
Gets the horizontal distance of the left border of the user's
browser from the left side of the screen.
Gets the vertical distance of the top border of the user's browser
from the top side of the screen.
Gets or sets the status of the window.
Shows the messagebox with the given message.
void Blur()
Removes the focus from the current window.
void Close()
Closes the window.
Opens a confirmation box with the provided message.
void Focus()
Focuses the current window.
IWindow Open(string url = "about:blank", string name = null, string features = null, string replace = null)
Opens a window to show url, and returns it. If a window exists with
the provided name already, it is reused.
void Print()
Opens the print dialog for the current window.
void Stop()
Stops the current document from being loaded.