# Window.IHandler interface

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public interface Window.IHandler : Panel.IHandler
```

Handler interface for the [Window](https://eto.picoe.ca/api/type/eto.forms.window.md)

**Derived types:** [Dialog.IHandler](https://eto.picoe.ca/api/type/eto.forms.dialog.ihandler.md), [Form.IHandler](https://eto.picoe.ca/api/type/eto.forms.form.ihandler.md)

## Properties

- [AutoSize](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/autosize.md): Gets or sets a value indicating that the window will automatically resize when its content changes
- [Bounds](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/bounds.md): Gets or sets the size and location of the window
- [Closeable](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/closeable.md): Gets or sets a value indicating whether the close button should be shown. Defaults to `true`
- [Icon](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/icon.md): Gets or sets the icon for the window to show in the menu bar.
- [Location](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/location.md): Gets or sets the location of the window
- [LogicalPixelSize](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/logicalpixelsize.md): Gets the number of pixels per logical pixel when on a high DPI display.
- [Maximizable](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/maximizable.md): Gets or sets a value indicating whether this [Window](https://eto.picoe.ca/api/type/eto.forms.window.md) can be maximized.
- [Menu](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/menu.md): Gets or sets the menu bar for this window
- [Minimizable](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/minimizable.md): Gets or sets a value indicating whether this [Window](https://eto.picoe.ca/api/type/eto.forms.window.md) can be minimized.
- [MovableByWindowBackground](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/movablebywindowbackground.md): Gets or sets a value indicating that the window can be moved by click+dragging the window background
- [Opacity](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/opacity.md): Gets or sets the opacity of the window
- [Resizable](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/resizable.md): Gets or sets a value indicating whether this [Window](https://eto.picoe.ca/api/type/eto.forms.window.md) is resizable.
- [RestoreBounds](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/restorebounds.md): Gets the bounds of the window before it was minimized or maximized.
- [Screen](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/screen.md): Gets the screen this window is mostly contained in. Typically defined by the screen center of the window is visible.
- [ShowInTaskbar](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/showintaskbar.md): Gets or sets a value indicating whether this [Window](https://eto.picoe.ca/api/type/eto.forms.window.md) will show in the taskbar.
- [Title](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/title.md): Gets or sets the title of the window
- [ToolBar](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/toolbar.md): Gets or sets the tool bar for the window.
- [Topmost](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/topmost.md): Gets or sets a value indicating whether this [Window](https://eto.picoe.ca/api/type/eto.forms.window.md) is above all other windows.
- [WindowState](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/windowstate.md): Gets or sets the state of the window.
- [WindowStyle](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/windowstyle.md): Gets or sets the style of this window.

## Methods

- [BringToFront](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/bringtofront.md): Brings the window in front of all other windows in the z-order.
- [Close](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/close.md): Closes the window
- [SendToBack](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/sendtoback.md): Sends the window behind all other windows in the z-order.
- [SetOwner](https://eto.picoe.ca/api/type/eto.forms.window.ihandler/setowner.md): Sets the owner of the window

## Inherited Members

- From [Panel.IHandler](https://eto.picoe.ca/api/type/eto.forms.panel.ihandler.md): [Content](https://eto.picoe.ca/api/type/eto.forms.panel.ihandler/content.md), [MinimumSize](https://eto.picoe.ca/api/type/eto.forms.panel.ihandler/minimumsize.md), [Padding](https://eto.picoe.ca/api/type/eto.forms.panel.ihandler/padding.md)
- From [Container.IHandler](https://eto.picoe.ca/api/type/eto.forms.container.ihandler.md): [ClientSize](https://eto.picoe.ca/api/type/eto.forms.container.ihandler/clientsize.md), [RecurseToChildren](https://eto.picoe.ca/api/type/eto.forms.container.ihandler/recursetochildren.md)
- From [Control.IHandler](https://eto.picoe.ca/api/type/eto.forms.control.ihandler.md): [AllowDrop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/allowdrop.md), [BackgroundColor](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/backgroundcolor.md), [Cursor](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/cursor.md), [Enabled](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/enabled.md), [HasFocus](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/hasfocus.md), [Height](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/height.md), [IsMouseCaptured](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/ismousecaptured.md), [Size](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/size.md), [SupportedPlatformCommands](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/supportedplatformcommands.md), [TabIndex](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tabindex.md), [TabStop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tabstop.md), [ToolTip](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tooltip.md), [Visible](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/visible.md), [VisualControls](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/visualcontrols.md), [Width](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/width.md), [AddGesture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/addgesture.md), [CaptureMouse](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/capturemouse.md), [ClearGestures](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/cleargestures.md), [DoDragDrop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/dodragdrop.md), [Focus](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/focus.md), [GetNativeParentWindow](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/getnativeparentwindow.md), [GetPreferredSize](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/getpreferredsize.md), [Invalidate](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/invalidate.md), [MapPlatformCommand](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/mapplatformcommand.md), [OnLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onload.md), [OnLoadComplete](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onloadcomplete.md), [OnPreLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onpreload.md), [OnUnLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onunload.md), [PointFromScreen](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/pointfromscreen.md), [PointToScreen](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/pointtoscreen.md), [ReleaseMouseCapture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/releasemousecapture.md), [RemoveGesture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/removegesture.md), [ResumeLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/resumelayout.md), [SetParent](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/setparent.md), [SuspendLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/suspendlayout.md), [UpdateLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/updatelayout.md)
- From [Widget.IHandler](https://eto.picoe.ca/api/type/eto.widget.ihandler.md): [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md)
- From [IContextMenuHost](https://eto.picoe.ca/api/type/eto.forms.icontextmenuhost.md): [ContextMenu](https://eto.picoe.ca/api/type/eto.forms.icontextmenuhost/contextmenu.md)
