---
id: fast-foundation.treeitem.selected
title: TreeItem.selected property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [TreeItem](./fast-foundation.treeitem.md) &gt; [selected](./fast-foundation.treeitem.selected.md)

## TreeItem.selected property

When true, the control will appear selected by user interaction.

<b>Signature:</b>

```typescript
selected: boolean;
```

## Remarks

HTML Attribute: selected
