A newer version of this page is available. Switch to the current version.

ChartWizard.ShowDialog(UserLookAndFeel, Boolean) Method

Invokes the Chart Wizard for the chart control with the Look And Feel painting scheme applied and specified topmost parameter indicating whether the chart wizard is displayed topmost.

Namespace: DevExpress.XtraCharts.Wizard

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

Declaration

public DialogResult ShowDialog(
    UserLookAndFeel lookAndFeel,
    bool topMost
)

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

A UserLookAndFeel object that specifies the painting scheme.

topMost Boolean

A Boolean value that specifies whether the chart wizard should be shown as the topmost dialog box.

Returns

Type Description
DialogResult

A DialogResult enumeration member that indicates the return value of a dialog box.

Remarks

When you wish to create a different visual appearance for the Chart Wizard, you may involve the Look And Feel and Skinning. It enables you to select visual styles and skins.

The following code snippet shows how to use this approach.


using DevExpress.XtraCharts.Wizard;
using DevExpress.LookAndFeel;
// ...

ChartWizard wiz = new ChartWizard(chartControl1);

// Create a new look and feel object.
UserLookAndFeel MyLookAndFeel_for_Wizard = new UserLookAndFeel(wiz);

// Change styles, skins or whatever.
MyLookAndFeel_for_Wizard.SetWindowsXPStyle();

// Invoke the styled Wizard.
wiz.ShowDialog(MyLookAndFeel_for_Wizard);

To learn more about the Look And Feel concept refer to the Look And Feel and Skinning topic.

See Also