# DockStyle

URL: https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.dockstyle

Version: 4.1
Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.1.0.0)

Specifies the position and manner in which a control is docked.

- C# - VB.NET

```csharp
public enum DockStyle : Enum
```

```visual
Public Enum DockStyle As [Enum]
```

## Fields

| Name | Description | **Bottom** | The control's bottom edge is docked to the bottom of its containing control. | **Fill** | All the control's edges are docked to the all edges of its containing control and sized appropriately. | **Left** | The control's left edge is docked to the left edge of its containing control. | **None** | The control is not docked. | **Right** | The control's right edge is docked to the right edge of its containing control. | **Top** | The control's top edge is docked to the top of its containing control. 

## Used By

| Name | Description | [Control.Dock](/api/wisej.web/general/control/#dock) | Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. | [Control.LayoutChildren](/api/wisej.web/general/control/#layoutchildren-dock-spacing-usemargins-halign-valign) | Arranges all the childControl using the specified *dock* style, spaced by *spacing* pixels. | [Label.Dock](/api/wisej.web/content/wisej.web.label#dock) | Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. | [Desktop.Dock](/api/wisej.web/containers/desktop/#dock) | Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. | [MenuBar.Dock](/api/wisej.web/menus/wisej.web.menubar#dock) | | [StatusBar.Dock](/api/wisej.web/containers/statusbar/#dock) | Returns or sets the docking behavior of theStatusBar control. | [ToolBar.Dock](/api/wisej.web/containers/toolbar/#dock) | | [ControlExtensions.Dock](/api/wisej.web.markup/extensions/wisej.web.markup.controlextensions#dock-control-dockposition) | Sets the dock style for the specified control.
