User Interface
User Interface (UI) refers to the visual and interactive elements of a digital system or application that enable users to interact with and control it.
About the component
- Last Update 25 Oct, 2023
- Component Version : 3.0.0
- API 21, Android 5.0 Lollipop
- 30 Blocks Available
Provides a user interface element that represents a binary choice, typically displayed as a square box that can be checked or unchecked to indicate an "on" or "off" state. CheckBoxes are often used to allow users to select multiple options from a list.
Overview
a visible user interface component that allows users to toggle between checked (true) and unchecked (false) states by tapping it.
Events
Methods
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 5 |
2 | right | Integer | 5 |
3 | top | Integer | 5 |
4 | bottom | Integer | 5 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 5 |
2 | right | Integer | 5 |
3 | top | Integer | 5 |
4 | bottom | Integer | 5 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get BackgroundColor | color | None |
2 | set BackgroundColor | color | #00000 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Checked | boolean | false |
2 | set Checked | boolean | false |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Enabled | boolean | True |
2 | set Enabled | boolean | false |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get FontSize | integer | Default system font size |
2 | set FontSize | integer | 14 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Height | integer | 0 |
1 | set Height | integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Width | integer | 0 |
2 | set Width | integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set HeightPercent | integer | 0 |
1 | set WidthPercent | integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Text | text | * |
2 | set Text | text | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Unchecked Color | color | Gray |
2 | set Unchecked Color | color | #00000 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get TextColor | color | Black (or white in dark mode) |
2 | set TextColor | color | #00000 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | false |
2 | set Visible | boolean | false |