Skip to main content

WizardSeriesLabelsPage.HiddenPageTabs Property

Provides access to a collection of SeriesLabelsPageTab enumeration values, representing the hidden tabs.

Namespace: DevExpress.XtraCharts.Wizard

Assembly: DevExpress.XtraCharts.v23.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

Declaration

public SeriesLabelsPageTabCollection HiddenPageTabs { get; }

Property Value

Type Description
SeriesLabelsPageTabCollection

A SeriesLabelsPageTabCollection object, representing a collection of enumeration values for the hidden tabs at the Wizard’s Point Labels page.

Remarks

Use this property to hide certain tabs on the Point Labels wizard page. To do this, populate the SeriesLabelsPageTabCollection via its SeriesLabelsPageTabCollection.Add method, with the required SeriesLabelsPageTab enumeration members.

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