SegmentedControl

A segmented control choosing one of a few options.
public class SegmentedControl : Control

Properties

Items

The segment titles, in order.

Type: IList<string>

public IList<string> Items { get; }

SelectedIndex

The selected segment's index.

Type: Bindable<int>

public Bindable<int> SelectedIndex { get; set; }

SelectionChanged

Invoked with the new index whenever the user picks a segment.

Type: Action<int>?

public Action<int>? SelectionChanged { get; set; }