# LibTmux.MovePaneRequest.MovePaneRequest

- **Module:** LibTmux.MovePaneRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/MovePaneRequest.cs#L14
- **Page:** https://libtmux.org/reference/dotnet/libtmux-movepanerequest-movepanerequest/

```
LibTmux.MovePaneRequest.MovePaneRequest(target: string, direction: PaneDirection, size: string?, detach: bool, fullWindow: bool, before: bool)
```

Initializes a pane-move request.

## Parameters

- `target` (string) — The pane or window to move against.
- `direction` (PaneDirection) — Which side of the target the pane lands on.
- `size` (string?) — The size in cells or as a percentage.
- `detach` (bool) — Whether the moved pane is left unselected.
- `fullWindow` (bool) — Whether the split spans the whole window.
- `before` (bool) — Whether the pane lands before the target.

## Raises

- `ArgumentException` — <paramref name="target" /> is blank.
