ChartWizard.ShowDialog(UserLookAndFeel) Method
Invokes the Chart Wizard for the chart control with Look And Feel painting scheme applied.
Namespace: DevExpress.XtraCharts.Wizard
Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
lookAndFeel | UserLookAndFeel | A UserLookAndFeel object that specifies the painting scheme. |
Returns
Type | Description |
---|---|
DialogResult | A DialogResult enumeration member that indicates the return value of a dialog box. |
Remarks
When you wish to experience a different visual appearance of 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 illustrates this approach.
To learn more about the Look And Feel concept refer to the Look And Feel and Skinning topic.
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);
See Also