C1NavigationListOptionItem Item

A C1NavigationListOptionItem is a navigation list item that presents users with an option. Users can select the option by checking the box, or deselect the option by deselecting the box. The option item can be nested within a C1NavigationListGroupItem, added to a C1NavigationListOptionListItem item, or used as a standalone item. The image below illustrates a C1NavigationListOptionItem:

 

 

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

 

Property

Description

TopText

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

Text

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

BottomText

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

DetailText

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

ImageURL

The path where the image for the option item is stored. The image appears to the left of all text. 

 

You can add a list option through the Edit NavigationList dialog box, or you can add it through Source view using the following XHTML markup:

 

<cc1:C1NavigationList runat="server" NavigationListType="RoundedCornersList" Text="Settings"

OnClientItemChecked="ItemChecked" OnClientItemClick="ItemClicked">

    <Items>

        <cc1:C1NavigationListOptionItem ID="C1NavigationListOptionItem1" runat="Server" Checked="True" Text="Text" BottomText="BottomText" TopText="TopText" DetailText="DetailText" ImageUrl="~/Images/videos_29x29.png" BorderColor="Red">

        </cc1:C1NavigationListOptionItem>

    </Items>

</cc1:C1NavigationList>


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