---
id: fast-foundation.listbox.selectedindex
title: Listbox.selectedIndex property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Listbox](./fast-foundation.listbox.md) &gt; [selectedIndex](./fast-foundation.listbox.selectedindex.md)

## Listbox.selectedIndex property

The index of the selected option.

<b>Signature:</b>

```typescript
selectedIndex: number;
```