# LibTmux.FindWindowRequest.FindWindowRequest

- **Module:** LibTmux.FindWindowRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/FindWindowRequest.cs#L14
- **Page:** https://libtmux.org/reference/dotnet/libtmux-findwindowrequest-findwindowrequest/

```
LibTmux.FindWindowRequest.FindWindowRequest(pattern: string, matchContent: bool, ignoreCase: bool, matchName: bool, regex: bool, matchTitle: bool)
```

Initializes a window-search request.

## Parameters

- `pattern` (string) — The text to look for.
- `matchContent` (bool) — Whether pane content is searched.
- `ignoreCase` (bool) — Whether the search ignores case.
- `matchName` (bool) — Whether window names are searched.
- `regex` (bool) — Whether the pattern is a regular expression.
- `matchTitle` (bool) — Whether pane titles are searched.

## Raises

- `ArgumentException` — <paramref name="pattern" /> is blank.
