SelectedIndex Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Property SelectedIndex As Integer
public int SelectedIndex { get; set; }
public:
property int SelectedIndex {
    int get ();
    void set (int value);
}
member SelectedIndex : int with get, set
function get SelectedIndex () : int
function set SelectedIndex (value : int)

Property Value

Type: System. . :: . .Int32
The index number of the specified item in the current list box.

.NET Framework Security

See Also

Reference

ListBox Class

Microsoft.SPOT.Presentation.Controls Namespace