windowsforms-devexpress-dot-xtracharts-dot-designer-dot-chartdesigner-dot-showdialog-x28-system-dot-boolean-x29.md
Invokes the Chart Wizard for the chart control with the specified topmost parameter indicating whether the chart wizard is displayed on top.
Namespace : DevExpress.XtraCharts.Designer
Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll
NuGet Package : DevExpress.Win.Charts
public DialogResult ShowDialog(
bool topMost
)
Public Function ShowDialog(
topMost As Boolean
) As DialogResult
| Name | Type | Description |
|---|---|---|
| topMost | Boolean |
A Boolean value that specifies whether the chart wizard should be shown as the topmost dialog box.
|
| Type | Description |
|---|---|
| DialogResult |
A DialogResult enumeration member that indicates the return value of a dialog box.
|
Use this method to allow the user to construct the chart, customize its appearance and adjust the layout.
The ChartDesigner uses the standard Look And Feel and Skinning, unless the UserLookAndFeel object is specified as a constructor parameter.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowDialog(Boolean) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-charts-create-model-for-custom-chart-element/CS/CustomChartElementModel/Form1.cs#L16
chartDesigner.RegisterCustomModelType(typeof(SideBySideBarSeriesView), typeof(SideBySideBarSeriesViewCustomModel));
chartDesigner.ShowDialog(true);
}
winforms-charts-create-model-for-custom-chart-element/VB/CustomChartElementModel/Form1.vb#L19
chartDesigner.RegisterCustomModelType(GetType(SideBySideBarSeriesView), GetType(SideBySideBarSeriesViewCustomModel))
chartDesigner.ShowDialog(True)
End Sub
See Also