Show / Hide Table of Contents

Create a Table of Contents

This tutorial describes how to create a report with a table of contents, which is automatically created based on the bookmarks existing in a report.

To insert a table of contents into a report, do the following.

  1. Drop the Table Of Contents control from the Toolbox onto the Report Header Band.

    EUD_WpfRD_Toc_0

    Alternatively, you can double-click the control in the Toolbox. In this case, if the report does not contain a Report Header, it will be created automatically, so that the table of contents can be added to it.

  2. Double-click the title of the table of contents and specify its text.

    EUD_WpfRD_Toc_1

  3. To customize the title's appearance, use the Level Title option's settings available in the Properties Panel.

    EUD_WpfRD_Toc_2

  4. To customize the appearance of all other levels, use the Level Default option's settings.

    EUD_WpfRD_Toc_3

  5. To customize a specific level individually, add a corresponding item to the Levels collection of the table of contents.

    EUD_WpfRD_Toc_4

    After adding a new level, you can access and customize its properties.

The table of contents are now ready. Switch to the Print Preview and view the result.

EUD_WpfRD_Toc_5

In This Article
Back to top Copyright (c) 2021 AMETEK Inc. All rights reserved. - v2.27