C1NavigationListHeaderItem Item

A C1NavigationListHeaderItem is a list item with text that is used to provide a header for a section of list items.

You can tie the text item to a group, or you can add it as a standalone item. If you are using a simple list, there will be no visual difference between a grouped and a standalone item. However, grouping does affect the appearance of a rounded corners list. In a rounded corners list, a text item nested within a C1NavigationGroup adopts the appearance of the other list items; if ungrouped, the text will appear over the background image of the C1ViewPort. Comparisons between the two types are illustrated in the following table:

 

Standalone

Grouped

 

To view the XHTML used to create the headers in the table above, select from the following options:

      Standalone Header

      Grouped Header

The following image depicts a header item on a simple list:

 

 

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

 

Property

Description

TopText

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

Text

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

BottomText

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

DetailText

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

ImageURL

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


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