SelectedIndex Property (JList)

Class

JList.

Action

Gets the index of the selected list item. The value is zero-based.

Syntax

'Declaration
Protected Read Property SelectedIndex As Integer

Access

Read only.

Examples

Dim selectedIndex As Integer = colorsList.SelectedIndex