SegmentedButtonSelectedIndex Property |
Gets or sets the index of the selected item, or -1 for no selection.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer
Get
Set
member SelectedIndex : int with get, set
Property Value
Type:
Int32The index of the selected item, or -1 when nothing is selected.
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