Table of Contents

The Table of Contents control generates a table of contents based on bookmarks specified for report elements.

When a Table of Contents control is dropped onto a report's body from the Toolbox, it is placed on the Report Header band of the report. If there is no Report Header in the report, it is created automatically.

A table of contents is generated based on the hierarchy of report bookmarks. To learn how to provide a report with bookmarks, refer to the Add Bookmarks topic.

In the Property Grid, the properties of the Table of Contents are divided into the following groups.

Expanded Appearance

  • Background Color

    Specifies the background color for the control. This option is also available in the Formatting Toolbar ().

  • Borders, Border Color, Border Width and Border Dash Style

    Specify border settings for the control.

  • Formatting Rules

    Invokes the Formatting Rules Editor, which allows you to choose which rules should be applied to a control during report generation, and define the precedence of the applied rules. To learn more on this, refer to Conditionally Change a Control's Appearance.

  • Padding

    Specifies indent values that are used to render the contents of a Label.

  • Foreground Color

    Specifies the text color for the control. This option is also available in the Formatting Toolbar ().

  • Style Priority

    Specifies the priority of various style elements (such as background color, border color, etc.). For more information on style inheritance, refer to Understanding Style Concepts.

  • Styles

    Assigns an existing (or newly created) style to the control, and also specifies odd and even styles. For more information on style inheritance, refer to Understanding Style Concepts.

Expanded Behavior

  • Level Default

    Specifies the default formatting options for the hierarchical levels of a Table of Contents.

  • Level Title

    Specifies the formatting options for the title of a Table of Contents.

  • Levels

    Invokes the Table of Contents Level Collection Editor, which allows you to edit and customize formatting options for hierarchical levels of a Table of Contents.

  • Max Nesting Level

    Specifies the maximum number of Table of Contents levels to be displayed. If set to 0, no limitation is applied.

  • Visible

    Specifies whether the control should be visible in a print preview.

Expanded Data

  • Tag

    This property allows you to add some additional information to the control; for example, its id, by which it can then be accessible using scripts.

Expanded Design

Expanded Layout