# LibTmux.SplitPaneRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Requests/SplitPaneRequest.cs#L13
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-splitpanerequest/

Describes one <c>split-window</c> invocation.

Every option is set through an initializer rather than a constructor
argument. tmux gains flags, and a constructor that grew one would break
every caller already compiled against the old signature; a property added
beside these does not.

## Members

- `Target` (property): Gets the pane to split, or null for the active one.
- `StartDirectory` (property): Gets the working directory for the new pane.
- `Attach` (property): Gets whether the new pane becomes active.
- `Direction` (property): Gets where the new pane goes.
- `FullWindow` (property): Gets whether the split spans the whole window.
- `Zoom` (property): Gets whether the new pane is zoomed.
- `Command` (property): Gets the command the new pane runs.
- `Size` (property): Gets the explicit size in cells.
- `Percentage` (property): Gets the size as a percentage of the window.
- `Environment` (property): Gets the environment entries set on the new pane.
- `Empty` (property): Gets whether the pane starts with no command.
- `Style` (property): Gets the pane style.
- `ActiveBorderStyle` (property): Gets the border style while the pane is active.
- `InactiveBorderStyle` (property): Gets the border style while it is not.
- `Message` (property): Gets the message shown in the pane.
- `KeepOpen` (property): Gets whether the pane stays after its command exits.
- `ToCommand` (method): Returns a split request as one tmux command.
