Click or drag to resize

ThemedSegmentedButtonHandlerSelectedIndex Property

Gets or sets the index of the selected item, or -1 for no selection.

Namespace:  Eto.Forms.ThemedControls
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public int SelectedIndex { get; set; }

Property Value

Type: Int32
The index of the selected item, or -1 when nothing is selected.

Implements

SegmentedButtonIHandlerSelectedIndex
Remarks
This works when SelectionMode is either single or multiple. When setting this value in multiple selection mode, all other selected items will be cleared.
See Also