SelectedItem Property (JList)

Class

JList.

Action

Gets the name or index of the selected list item.

Syntax

C#
protected ItemIdentifier SelectedItem { get; }
VB
'Declaration
Protected Read Property SelectedItem As ItemIdentifier

Access

Read only.

Examples

VB

Dim selectedItem As String = colorsList.SelectedItem