AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

.NET API 960,512 bytes

 IWindow

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.

IHistory History { get; }

Gets the history of the current window.

bool IsClosed { get; }

Gets if the window has been closed.

Gets the location of the current document.

string Name { get; set; }

Gets or sets the name of the window.

Gets the user-agent information.

int OuterHeight { get; }

Gets the height of the outside of the browser window.

int OuterWidth { get; }

Gets the width of the outside of the browser window.

IWindow Proxy { get; }

Gets the proxy to the current browsing context.

int ScreenX { get; }

Gets the horizontal distance of the left border of the user's browser from the left side of the screen.

int ScreenY { get; }

Gets the vertical distance of the top border of the user's browser from the top side of the screen.

string Status { get; set; }

Gets or sets the status of the window.

void Alert(string message)

Shows the messagebox with the given message.

void Blur()

Removes the focus from the current window.

void Close()

Closes the window.

bool Confirm(string message)

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.