How to Use Styles > Built-in Named Styles |
When a list is first created, it has a collection of built-in named styles that control various aspects of its display. For example, the Heading style determines the attributes used to display column headers. At design time, you can change the appearance of the list as a whole by modifying the built-in named styles on the Style Factory property page. At run time, the Styles collection provides access to the same set of named styles. Initially, all lists contain eight built-in styles, which control the display of the following list elements:
Normal |
Data cells in unselected, unhighlighted rows |
Heading |
Column headers |
Footing |
Column footers |
Selected |
Data cells in selected rows |
Caption |
List and split caption bars |
HighlightRow |
Data cells in highlighted rows |
EvenRow |
Data cells in even numbered rows |
OddRow |
Data cells in odd numbered rows |
A selected row is one whose bookmark has been added to the SelBookmarks collection, either in code or through user interaction.
The EvenRow and OddRow styles are used only when the AlternatingRowStyle property is set to True.