On/off switch control properties

The following table lists the properties that appear on the Properties tab of the Control Properties window for an on/off switch control.
Table 1. On/off switch control properties
Device Settings Explanation
BackColor To change the background color for the control, click the drop‑down arrow in the right column and select a color from the Palette tab that displays.
IconSet To change the appearance of the On/Off switch icon, change the value in the right column.

0 = On/Off switch icon with value = 0

1 = On/Off switch icon with value = 1

2 = On/Off switch icon with value = 2

3 = On/Off switch icon with value = 3

4 = On/Off switch icon with value = 4

5 = On/Off switch icon with value = 5

6 = On/Off switch icon with value = 6

7 = On/Off switch icon with value = 7

8 = On/Off switch icon with value = 8

9 = On/Off switch icon with value = 9 (default)

State To change the state of the control, change the value in the right column. The default is True.
UserInteractionEnabled To change is user interaction is enable, change the value in the right column. The default is True.

Feedback