--- title: "Vision - Check Box" description: "A CheckBox is a familiar component that represents a bit - it is either on (selected) or off (not selected). It is functionally equivalent to the Toggle Button component." --- # Vision - Check Box > A CheckBox is a familiar component that represents a bit - it is either on (selected) or off (not selected). It is functionally equivalent to the Toggle Button component. ![](checkbox1.png) **Component Palette Icon** ![](CheckBox2.png) ## Properties | Property | Description | Property Type | Scripting | Category | |--- |--- |--- |--- |--- | | Background Color | The background color of the component. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value. See [Color Selector](appendix/reference-pages/color-selector-reference/color-selector-reference.mdx). | Color | .background | Appearance | | Border | The border surrounding this component. Options are No border, Etched (Lowered), Etched (Raised), Bevel (Lowered), Bevel (Raised), Bevel (Double), and Field Border.**Note**: The border is unaffected by rotation. As of 8.1.21, the "Button Border" and "Other Border" options are removed. | Border | .border | Common | | Cursor | The mouse cursor to use when hovering over this component. Options are: Default, Crosshair, Text, Wait, Hand, Move, SW Resize, or SE Resize. | int | .cursorCode | Common | | Enabled | If disabled, a component cannot be used. | boolean | .componentEnabled | Common | | Fill Background | If true, the label's background color will be drawn. If false, it will have a transparent background. | boolean | .fillBackground | Appearance | | Focusable | If a button is not focusable, you will not be able to interact with it with the keyboard. This means you can't "tab" over to it. | boolean | .focusable | Behavior | | Font | Font of text on this component. | Font | .font | Appearance | | Foreground Color | The foreground color of the component. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value. See [Color Selector](appendix/reference-pages/color-selector-reference/color-selector-reference.mdx). | Color | .foreground | Appearance | | Horizontal Alignment | The horizontal alignment of the button's contents (text and/or image). | int | .horizontalAlignment | Layout | | Margin | The internal margin that provides padding for the contents of this button. | Insets | .margin | Appearance | | Mouseover Text | The text that is displayed in the tooltip which pops up on mouseover of this component. | String | .toolTipText | Common | | Name | The name of this component. | String | .name | Common | | Quality | The data quality code for any Tag bindings on this component. | QualityCode | .quality | Data | | Rollover | If true, the button may indicate that the mouse is hovering over it. | boolean | .rolloverEnabled | Behavior | | Selected | The current state of the checkbox. | boolean | .selected | Data | | Styles | Contains the component's styles. | Dataset | .styles | Appearance | | Text | The text displayed on the checkbox. | String | .text | Appearance | | Vertical Alignment | The vertical alignment of the button's contents (text and/or image). | int | .verticalAlignment | Layout | | Visible | If disabled, the component will be hidden. | boolean | .visible | Common | ### Deprecated Properties | Property | Description | Property Type | Scripting | Category | |--- |--- |--- |--- |--- | | Data Quality | The data quality code for any Tag bindings on this component. | int | .dataQuality | Deprecated | ## Scripting ### Component Functions This component does not have component functions associated with it. ### Extension Functions This component does not have extension functions associated with it. ### Event Handlers Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the [Component Events](ignition-modules/vision/scripting-in-vision/component-events/component-events.md) page ## Customizers + [Vision Component Customizers](ignition-modules/vision/working-with-vision-components/vision-component-customizer/vision-component-customizer.md) + [Style Customizer](ignition-modules/vision/working-with-vision-components/vision-component-customizer/vision-component-customizer.md#style-customizer) ## Examples ![](checkbox.png)