# LibTmux.Window.Index

- **Module:** LibTmux.Window
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Window.State.cs#L27
- **Page:** https://libtmux.org/reference/dotnet/libtmux-window-index/

Gets the index this window holds in its session.

A window linked into several sessions holds a different index in each,
so this is the index of the session this handle was read through.
