Xamarin.Forms by Xamarin Inc.

<PackageReference Include="Xamarin.Forms" Version="2.0.1.6492-pre1" />

.NET API 803,328 bytes

 SwitchCell

public class SwitchCell : Cell
A Cell with a label and an on/off switch.
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 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()