Share via


ListBox.SelectedIndex Property

Gets or sets the index number of a specified item in the current list box.

Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public int SelectedIndex { get; set; }

Property Value

The index number of the specified item in the current list box.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

ListBox Class
ListBox Members
Microsoft.SPOT.Presentation.Controls Namespace