Contents

selectedSegment

The index of the selected segment of the control, or -1 if no segment is selected.

Declaration

var selectedSegment: Int { get set }

Discussion

If the control allows multiple selections, this property contains the most recently selected segment. If the index is out of bounds, an exception (rangeException) is raised.

See Also

Managing the selected segment