# Editor.DockWindow

A window that is built from docking windows.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Inherits: [Editor.Window](/api/Editor.Window)

## Constructors

- [`DockWindow`](/api/Editor.DockWindow/.ctor)

## Properties

- [`DockManager`](/api/Editor.DockWindow/DockManager): The dock manager for this window, created automatically.

## Methods

- [`CreateDynamicViewMenu`](/api/Editor.DockWindow/CreateDynamicViewMenu): Populate a view menu with dock toggle options and a reset layout action.
- [`ResetLayout`](/api/Editor.DockWindow/ResetLayout): Reset the window back to its default dock layout.
- [`RestoreFromStateCookie`](/api/Editor.DockWindow/RestoreFromStateCookie): Restores window geometry and, on top of the base window, the saved dock layout.
- [`RestoreLayout`](/api/Editor.DockWindow/RestoreLayout): Restore the saved dock layout, or the default layout if there's nothing to restore.
- [`SaveLayout`](/api/Editor.DockWindow/SaveLayout): Persist the current dock layout. Happens automatically when the window closes or the app exits.
