ChartWizard.AppearancePage Property
Provides access to the Appearance page of the Chart Wizard.
Namespace: DevExpress.XtraCharts.Wizard
Assembly: DevExpress.XtraCharts.v24.1.Wizard.dll
NuGet Package: DevExpress.Win.Charts
Declaration
Property Value
Type | Description |
---|---|
WizardPage | A WizardPage object which represents the Appearance page. |
Remarks
There are different ways to access a wizard’s pages. One of them is to obtain a required group from the ChartWizard.Groups array, and then obtain a required page from the WizardGroup.Pages array. However, this approach appears to be inflexible, as it involves a group’ and page index.
If you want to get direct access to a specific wizard group or page, use one of the following properties.
- ChartWizard.ChartTypePage
- AppearancePage
- ChartWizard.SeriesPage
- ChartWizard.DataPage
- ChartWizard.ChartPage
- ChartWizard.DiagramPage
- ChartWizard.PanePage
- ChartWizard.AxisPage
- ChartWizard.SeriesViewPage
- ChartWizard.SeriesLabelsPage
- ChartWizard.TitlePage
- ChartWizard.LegendPage
- ChartWizard.AnnotationPage
For more information, refer to Chart Wizard.
Example
The following example demonstrates how to hide certain property tabs on a Chart Wizard‘s page at runtime. This technique is useful to prevent the end-users from modifying particular chart settings.
using DevExpress.XtraCharts.Wizard;
// ...
private void button1_Click(object sender, EventArgs e) {
// Create a new Wizard.
ChartWizard wizard = new ChartWizard(this.chartControl1);
// Obtain a Data page.
WizardDataPage page = wizard.DataPage;
// Hide the tabs related to a data source on the Data page.
page.HiddenPageTabs.Add(DataPageTab.AutoCreatedSeries);
page.HiddenPageTabs.Add(DataPageTab.SeriesBinding);
// Invoke the Wizard window.
wizard.ShowDialog();
}