The Wizard Customization
- 2 minutes to read
This documentation topic describes legacy functionality. We no longer develop new features for the Chart Wizard and suggest that you use the Chart Designer instead. Read the WinForms Charting - New Designer blog post for more information.
This document explains how you can customize the standard Chart Wizard by managing its groups, pages and tabs. For general information on the Wizard's structure, see Chart Wizard Overview.
A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E1660.
This document describes customization capabilities that are available for the Chart Wizard.
Order Pages within a Group
Each Wizard page is represented by a WizardPage class descendant.
You can change how pages are ordered in their groups, by managing the collection returned by the WizardGroup.Pages property.
For a code example, see 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 WizardGroup 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.
To create a new page in a group, call the WizardGroup.RegisterPage method for this group, and subscribe to the WizardPage.InitializePage event to prepare the page for interaction with the user. When it contains several chart controls, you may specify the chart control that reflects the property settings specified via the Wizard.
For a code example, see How to: Add a New Page to a Wizard.
Hide Certain Tabs from a Page
To hide tabs from a certain page, they should be added to the hidden tabs collection via the HiddenPageTabs property of the corresponding page type (e.g. WizardTitlePage.HiddenPageTabs).
For a code example, see How to: Hide Certain Tabs on a Wizard's Page.