# LibTmux.Workspace.WorkspacePane

- **Module:** LibTmux.Workspace
- **Package:** LibTmux.Workspace
- **Language:** C#
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Workspace/WorkspaceFile.cs#L8
- **Page:** https://libtmux.org/en/csharp/latest/workspace/reference/libtmux-workspace-workspacepane/

Describes one pane in a supported tmuxp workspace.

## Members

### Other members

- `BeforeCommands` (property): Gets the typed commands prepended at this declaration level.
- `Commands` (property): Gets the typed pane commands in declaration order.
- `Enter` (property): Gets the pane's initial Enter state, or null for the default.
- `Environment` (property): Gets the environment entries contributed by this declaration.
- `Focus` (property): Gets whether the pane is left selected.
- `Options` (property): Gets the pane options to set.
- `ShellCommands` (property): Gets the commands to run, in order.
- `ShellCommandsBefore` (property): Gets the commands prepended at this declaration level.
- `StartDirectory` (property): Gets the directory the pane starts in.
- `WithDefaults` (method): Returns a declaration with replacement environment and pre-command defaults.
- `WorkspacePane` (method): Initializes a pane description.
