# LibTmux.Workspace.WorkspacePane.WorkspacePane

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

```
LibTmux.Workspace.WorkspacePane.WorkspacePane(shellCommands: IReadOnlyList<string>?, startDirectory: string?, focus: bool, options: IReadOnlyDictionary<string, string>?, commands: IReadOnlyList<WorkspaceCommand>?, enter: bool?)
```

Initializes a pane description.

## Parameters

- `shellCommands` (`IReadOnlyList<string>?`): The commands to run, in order.
- `startDirectory` (`string?`): The directory the pane starts in.
- `focus` (`bool`): Whether the pane is left selected.
- `options` (`IReadOnlyDictionary<string, string>?`): The pane options to set.
- `commands` (`IReadOnlyList<WorkspaceCommand>?`): Typed commands; use instead of <paramref name="shellCommands" /> to set Enter overrides.
- `enter` (`bool?`): The pane's initial Enter state, or null for the default.
