Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.4.0.991210-pre2" />

.NET API 1,173,616 bytes

 SwitchCell

public class SwitchCell : Cell
A Cell with a label and an on/off switch.
public static readonly BindableProperty OnColorProperty

The backing store for the OnColor field.

public static readonly BindableProperty OnProperty

Identifies the On bindable property.

public static readonly BindableProperty TextProperty

Identifies the Text bindable property.

public bool On { get; set; }

Gets or sets the state of the switch. This is a bindable property.

public Color OnColor { get; set; }

public string Text { get; set; }

Gets or sets the text displayed next to the switch. This is a bindable property.

Triggered when the switch has changed value.

public SwitchCell()