---
id: fast-foundation.treeview.currentselected
title: TreeView.currentSelected property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [TreeView](./fast-foundation.treeview.md) &gt; [currentSelected](./fast-foundation.treeview.currentselected.md)

## TreeView.currentSelected property

The currently selected tree item

<b>Signature:</b>

```typescript
currentSelected: HTMLElement | TreeItem | null;
```