Click or drag to resize

SegmentedButton Class

Button with multiple segments that can be clicked.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class SegmentedButton : Control, 
	IBindableWidgetContainer

The SegmentedButton type exposes the following members.

Constructors
  NameDescription
Public methodSegmentedButton
Initializes a new instance of the SegmentedButton class.
Top
Properties
  NameDescription
Public propertyItems
Gets the collection of segmented items
Public propertySelectedIndex
Gets or sets the index of the selected item, or -1 for no selection.
Public propertySelectedIndexes
Gets or sets the selected indexes.
Public propertySelectedItem
Gets or sets the selected item, or null for no selection.
Public propertySelectedItems
Gets or sets the selected items.
Public propertySelectionMode
Gets or sets the selection mode.
Top
Methods
Events
  NameDescription
Public eventItemClick
Occurs when an item has been clicked.
Public eventSelectedIndexChanged
Event to handle when the SelectedIndex changes.
Public eventSelectedIndexesChanged
Occurs when the SelectedIndexes have changed.
Public eventSelectedItemChanged
Event to handle when the SelectedItem changes.
Public eventSelectedItemsChanged
Occurs when the SelectedItems have changed.
Top
Fields
  NameDescription
Public fieldStatic memberItemClickEvent
Identifier for handlers when attaching the ItemClick event.
Public fieldStatic memberSelectedIndexesChangedEvent
Identifier for handlers when attaching the SelectedIndexesChanged event.
Top
Remarks
The SegmentedButton allows you to group multiple buttons together visually.
See Also