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
Syntaxpublic int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer
Get
Set
abstract SelectedIndex : int with get, set
override SelectedIndex : int with get, set
Property Value
Type:
Int32The 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