A C1NavigationListSwitchItem is a list item that allows users to choose between two states. The switch item can be nested within a C1NavigationListGroupItem, or you can choose to have it appear as a standalone item.
By default, a slider item loads with its state set to "OFF". You can set this to load on the "ON" state by setting the Checked property to True. The table below compares the ON and OFF states of the switch item:
Checked=True |
Checked=False |
|
|
The appearance of a C1NavigationListSwitchItem element can be modified with the following properties:
Property |
Description |
The top text of the switch item. In the iPhone visual style, this appears in blue font. | |
The middle text of the switch item. In the iPhone visual style, this appears in gray, bolded font. | |
The bottom text of the switch item. In the iPhone visual style, this appears in gray font. | |
The text describing the details of this switch item's subitems. | |
The path where the image for the switch item is stored. The image appears to the left of all text. |
The C1NavigationListSwitchItem item is similar to the C1SwitchButton control. For information on the C1SwitchButton control, see the C1SwitchButton Control topic.