When you add a CheckBox to an application, set its value property. The CheckBox can have the following states:
Set the onValueChanged property to handle the value change. In this demo, the value of the "Handle value change" CheckBox is passed to the "Disabled" CheckBox. Click the first CheckBox to see how it affects the second one.