# GraffitiToggle
Class Inherits GraffitiWebUIControl
## About
A custom toggle-style boolean selection component with multiple default styles, custom style implementation, and more!
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Styles | Dark <br > iPhone <br > Light <br > Modern <br > SoftFace | Supported display styles. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Open | (None) | (None) | (None) |
| Shown | (None) | (None) | (None) |
| ValueChange | (None) | (None) | This event is fired when the toggle’s value has been changed by clicking or dragging. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| AcceptFocus | Boolean | (None) | When True, the control will accept focus and can be toggled using the space or enter keys. |
| AnimationTime | Integer | (None) | Determines the length, in milliseconds, of the toggling animation. |
| Enabled | Boolean | (None) | (None) |
| FalseStyle | GraffitiStyle | (None) | WebStyle applied to the false value display. |
| FalseText | String | (None) | Determines the text to display when the toggle’s value is False. |
| ReadOnly | Boolean | (None) | Controls whether the user may alter the value. |
| TrueStyle | GraffitiStyle | (None) | WebStyle applied to the true value display. |
| TrueText | String | (None) | Determines the text to display when the toggle’s value is True. |
| Value | Boolean | (None) | The current value of the toggle. |
| VisualStyle | Styles | (None) | Sets the appearance of the toggle control. |