# SelectionOptions.focus Property

> SelectionOptions.focus property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SelectionOptions > SelectionOptions.focus Property
- **324 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/focus-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/focus-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/focus-property/llms-full.txt

---

The focus value of SelectionOptions.

Owner: [SelectionOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
focus?: boolean | undefined
```

Read through the owning object: `owner.focus`. Follow the declared mutability and owning object lifetime.

### Examples

Configure SelectionOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { SelectionOptions } from '@txtextcontrol/tx-sheet-control';

const selectionSettings: SelectionOptions = { focus: false };
console.log(selectionSettings['focus']);
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [SelectionOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [SelectionOptions.ensureVisible Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/ensurevisible-property/llms-full.txt)
- **Next:** [SelectionOptions.kind Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/selectionoptions/kind-property/llms-full.txt)
