CheckBox

Inheritance: Element -> NavigableElement -> VisualElement -> View
Xamarin.Forms documentation: CheckBox API / Guide

For details on how the control actually works, please refer to the Xamarin.Forms documentation.

Constructors

ConstructorsDescription
CheckBox(isChecked: bool, onCheckedChanged: bool -> ‘msg)Defines a CheckBox widget

Properties

PropertiesDescription
characterSpacing(light: FabColor, ?dark: FabColor)Sets the spacing between each character of the text
reference(value: ViewRef<CheckBox>)Sets a ViewRef instance to retrieve the Xamarin.Forms.CheckBox instance associated to this widget

Usages

CheckBox(model.Checked, CheckedChanged)
    .characterSpacing(1.)

Get access to the underlying Xamarin.Forms.CheckBox

let checkboxRef = ViewRef<CheckBox>()

CheckBox(model.Checked, CheckedChanged)
    .reference(checkboxRef)