Interface IWindow
Provides methods for getting and setting the size and position of the browser window.
public interface IWindow
Properties
Position
Gets or sets the position of the browser window relative to the upper-left corner of the screen.
Point Position { get; set; }
Property Value
Remarks
When setting this property, it should act as the JavaScript window.moveTo() method.
Size
Gets or sets the size of the outer browser window, including title bars and window borders.
Size Size { get; set; }
Property Value
Remarks
When setting this property, it should act as the JavaScript window.resizeTo() method.
Methods
FullScreen()
Sets the current window to full screen if it is not already in that state.
void FullScreen()
Maximize()
Maximizes the current window if it is not already maximized.
void Maximize()
Minimize()
Minimizes the current window if it is not already minimized.
void Minimize()