Ubuntu.Components CheckBox

CheckBox is a component with two states, checked or unchecked. It can be used to set boolean options. The behavior is the same as Switch, the only difference is the graphical style.

Import Statement: import Ubuntu.Components 1.3
Inherits: AbstractButton
Inherited By: Switch.

Properties

Detailed Description

See also the Design Guidelines on selection .

Example:

Item {
    CheckBox {
        checked: true
    }
}

Property Documentation

checked : bool

Specifies whether the checkbox is checked or not. By default the property is set to false.