windowsforms-devexpress-dot-xtracharts-dot-designer-dot-chartdesigner-e271418a.md
Occurs when a user requests help for the Chart Designer.
Namespace : DevExpress.XtraCharts.Designer
Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll
NuGet Package : DevExpress.Win.Charts
public event ChartDesignerHelpRequestedEventHandler HelpRequested
Public Event HelpRequested As ChartDesignerHelpRequestedEventHandler
The HelpRequested event's data class is EventArgs.
The user should press F1 to request help.
The following code invokes a custom help dialog for the Chart Designer when a user requests help:
private void OnSimpleButtonClick(object sender, EventArgs e) {
ChartDesigner designer = new ChartDesigner(chartControl1);
designer.HelpRequested += OnDesignerHelpRequested;
designer.ShowDialog(false);
}
private void OnDesignerHelpRequested(object sender, EventArgs e) {
// Create a help form that is the System.Windows.Forms.Form class descendant.
using (HelpForm helpForm = new HelpForm()) {
helpForm.ShowDialog();
}
}
Private Sub OnSimpleButtonClick(ByVal sender As Object, ByVal e As EventArgs)
Dim designer As ChartDesigner = New ChartDesigner(chartControl1)
designer.HelpRequested += AddressOf OnDesignerHelpRequested
designer.ShowDialog(False)
End Sub
Private Sub OnDesignerHelpRequested(ByVal sender As Object, ByVal e As EventArgs)
' Create a help form that is the System.Windows.Forms.Form class descendant.
Using helpForm As HelpForm = New HelpForm()
helpForm.ShowDialog()
End Using
End Sub
See Also