DataPageTabCollection Class

A collection of page tabs to be hidden on the Data wizard page.

Namespace: DevExpress.XtraCharts.Wizard

Assembly: DevExpress.XtraCharts.v20.1.Wizard.dll

Declaration

public class DataPageTabCollection :
    CollectionBase
Public Class DataPageTabCollection
    Inherits CollectionBase

Related API Members

The following members accept/return DataPageTabCollection objects:

Remarks

The collection of hidden page tabs can be accessed via the WizardDataPage.HiddenPageTabs property of a WizardDataPage object.

Examples

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();
}

Inheritance

Object
CollectionBase
DataPageTabCollection
See Also