FilterSeriesTypesCollection.Add(ViewType) Method

Appends the series view of the specified type to the current collection of hidden series views.

Namespace: DevExpress.XtraCharts.Wizard

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


public void Add(
    ViewType viewType
Public Sub Add(
    viewType As ViewType


Name Type Description
viewType ViewType

A ViewType enumeration value, which specifies the series view to append to the collection.


The series view added to this collection will be hidden in the Chart Wizard.


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.

    // Invoke the Wizard window.
See Also