ComponentOne Reports for WinForms Designer Edition: ComponentOne Reports for WinForms > Working with C1PrintDocument > Word Index > Customizing the Index's Appearance > Index Styles Hierarchy

Index Styles Hierarchy

The hierarchy of index-specific styles is as follows:

      Style, of the RenderIndex object, serves as AmbientParent for all other index-specific styles

      HeadingStyle

      EntryStyles

      Style

      SeeAlsoStyle

      SeeAlsoStyle

With the exception of the Style of RenderIndex, all of the styles listed above serve as both Parent and AmbientParent for the inline styles of related objects. So for example, while setting a font on the Style of a RenderIndex will affect all elements of that index (unless overridden by a lower-level style), specifying a border on that style will draw that border around the whole index but not around individual elements in it. On the other hand, specifying a border on SeeAlsoStyle for instance will draw borders around each "see also" element in the index.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.