SelectedIndex Property (AWTChoice)

Class

AWTChoice.

Action

Gets the index of the selected item. -1 (4Test: 0) is returned, if no item is currently selected. The value is zero-based.

Syntax

C#
protected Integer SelectedIndex { get; }
VB
'Declaration
Protected Read Property SelectedIndex As Integer

Access

Read only.

Examples

VB

Dim selectedIndex As Integer = colorsChoice.SelectedIndex