Window Class |
Namespace: Eto.Forms
The Window type exposes the following members.
Name | Description | |
---|---|---|
Window |
Initializes a new instance of the Window class.
| |
Window(WindowIHandler) |
Initializes a new instance of the Window with the specified handler
|
Name | Description | |
---|---|---|
Bounds |
Gets or sets the size and location of the window
| |
Icon |
Gets or sets the icon for the window to show in the menu bar.
| |
Location |
Gets or sets the location of the window
| |
LogicalPixelSize |
Gets the number of pixels per logical pixel when on a high DPI display.
| |
Maximizable |
Gets or sets a value indicating whether this Window can be maximized.
| |
Menu |
Gets or sets the menu bar for this window
| |
Minimizable |
Gets or sets a value indicating whether this Window can be minimized.
| |
MovableByWindowBackground |
Gets or sets a value indicating that the window can be moved by click+dragging the window background
| |
Opacity |
Gets or sets the opacity of the window
| |
Owner |
Gets or sets the owner of this window.
| |
Resizable |
Gets or sets a value indicating whether this Window is resizable.
| |
RestoreBounds |
Gets the bounds of the window before it was minimized or maximized, or the current bounds if WindowState is Normal.
| |
Screen |
Gets the screen this window is mostly contained in. Typically defined by the screen center of the window is visible.
| |
ShowInTaskbar |
Gets or sets a value indicating whether this Window will show in the taskbar.
| |
Title |
Gets or sets the title of the window
| |
ToolBar |
Gets or sets the tool bar for the window.
| |
Topmost |
Gets or sets a value indicating whether this Window is above all other windows.
| |
WindowState |
Gets or sets the state of the window.
| |
WindowStyle |
Gets or sets the style of this window.
|
Name | Description | |
---|---|---|
BringToFront |
Brings the window in front of all other windows in the z-order.
| |
Close |
Closes the window
| |
GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.) | |
Maximize |
Sets WindowState to Maximized | |
Minimize |
Sets WindowState to Minimized | |
OnClosed |
Raises the Closed event.
| |
OnClosing |
Raises the Closing event.
| |
OnDataContextChanged |
Raises the DataContextChanged event
(Overrides BindableWidgetOnDataContextChanged(EventArgs).) | |
OnLocationChanged |
Raises the LocationChanged event.
| |
OnLogicalPixelSizeChanged |
Raises the LogicalPixelSizeChanged event.
| |
OnOwnerChanged |
Raises the OwnerChanged event.
| |
OnWindowStateChanged |
Raises the WindowStateChanged event.
| |
SendToBack |
Sends the window behind all other windows in the z-order.
|
Name | Description | |
---|---|---|
Closed |
Occurs when the window is closed.
| |
Closing |
Occurs before the window is closed, giving an opportunity to cancel the close operation.
| |
LocationChanged |
Occurs when the Location of the window is changed.
| |
LogicalPixelSizeChanged |
Occurs when the LogicalPixelSize of the window is changed.
| |
OwnerChanged |
Occurs when the Owner is changed.
| |
WindowStateChanged |
Occurs when the WindowState is changed.
|
Name | Description | |
---|---|---|
ClosedEvent |
Identifier for handlers when attaching the Closed event.
| |
ClosingEvent |
Identifier for handlers when attaching the Closing event.
| |
LocationChangedEvent |
Identifier for handlers when attaching the LocationChanged event.
| |
LogicalPixelSizeChangedEvent |
Identifier for handlers when attaching the LogicalPixelSizeChanged event.
| |
WindowStateChangedEvent |
Identifier for handlers when attaching the WindowStateChanged event.
|