githubEdit

CheckBox

Inheritance: Elementarrow-up-right -> NavigableElementarrow-up-right -> VisualElementarrow-up-right -> Viewarrow-up-right Xamarin.Forms documentation: CheckBox APIarrow-up-right / Guidearrow-up-right

For details on how the control actually works, please refer to the Xamarin.Forms documentationarrow-up-right.

Constructors

Constructors
Description

CheckBox(isChecked: bool, onCheckedChanged: bool -> ‘msg)

Defines a CheckBox widget

Properties

Properties
Description

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)

Last updated