# LibTmux.Workspace.WorkspaceWindow

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

Describes one window in a supported tmuxp workspace.

## Members

### Collections and queries

- `Panes` (property): Gets the panes to create, in order.

### Other members

- `BeforeCommands` (property): Gets the typed commands prepended at this declaration level.
- `Environment` (property): Gets the environment entries contributed by this declaration.
- `Focus` (property): Gets whether the window is left selected.
- `Layout` (property): Gets the layout to apply after creating its panes.
- `Options` (property): Gets the window options to set before pane commands and splits.
- `OptionsAfter` (property): Gets the window options to set after pane commands and the final layout.
- `ShellCommandsBefore` (property): Gets the commands prepended at this declaration level.
- `StartDirectory` (property): Gets the directory its panes start in.
- `WindowIndex` (property): Gets the requested session-relative window index, or null for the next free index.
- `WindowName` (property): Gets the window name.
- `WithDefaults` (method): Returns a declaration with replacement environment and pre-command defaults.
- `WorkspaceWindow` (method): Initializes a window description.
