C1NavigationListSwitchItem Item

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

Description: SwitchButton_Off

 

The appearance of a C1NavigationListSwitchItem element can be modified with the following properties:

 

Property

Description

TopText

The top text of the switch item. In the iPhone visual style, this appears in blue font.

Text

The middle text of the switch item. In the iPhone visual style, this appears in gray, bolded font. 

BottomText

The bottom text of the switch item. In the iPhone visual style, this appears in gray font.

DetailText

The text describing the details of this switch item's subitems. 

ImageURL

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.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.