# LibTmux.SwapPaneRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/SwapPaneRequest.cs#L18
- **Page:** https://libtmux.org/reference/dotnet/libtmux-swappanerequest/

Describes one <c>swap-pane</c> invocation.

tmux replaces a named source with the neighbour whenever a direction is
given, so sending both would quietly drop the name.

## Members

- `SwapPaneRequest` (method) — Initializes a pane-swap request.
- `Target` (property) — Gets the pane to swap with.
- `Direction` (property) — Gets the neighbour to swap with instead.
- `Detach` (property) — Gets whether the swapped pane is left unselected.
- `KeepZoom` (property) — Gets whether a zoomed pane stays zoomed.
