Skip to main content

Wizard Customization

  • 2 minutes to read

This topic explains how to use groups, pages and tabs to customize the standard Chart Wizard. For general information on the Wizard’s structure, see the following help topic: Chart Wizard Overview.

This document describes customization capabilities that are available for the Chart Wizard.

Order Pages within a Group

Each Wizard page is represented by a ChartDesigner class descendant.

Use the WizardGroup.RegisterPage or WizardGroup.UnregisterPage method to add or remove a page from a group.

You can change how pages are ordered in their groups, by managing the collection returned by the WizardGroup.Pages property.

See the following help topic for a code example: How to: Change the Page Order in a Wizard.

Create a New Group and Add a Page to It

Each Wizard group is represented by the ChartDesigner class descendant.

To create a new group, call the ChartWizard.RegisterGroup method.

To display a group in the Wizard you should register a page that belongs to the group.

You can also create a new page within a group. To do this, call the WizardGroup.RegisterPage method for this group, and subscribe to the WizardPage.InitializePage event to prepare the page for user interaction. When it contains several chart controls, you may specify the chart control that reflects the property settings specified with the Wizard.

See the following help topic for a code example: How to: Add a New Page to a Wizard.

Hide Certain Tabs from a Page

Add the tabs you wish to hide to the hidden tabs collection. You can access this collection from the HiddenPageTabs property of the corresponding page type (e.g., WizardTitlePage.HiddenPageTabs).

Refer to the following help topic for a code example: How to: Hide Certain Tabs on a Wizard’s Page.