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
| 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\ |
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)