windowsforms-devexpress-dot-xtrascheduler-dot-showformeventargs-2c8ba65d.md
Gets or sets whether an event was handled, if it was handled the default actions are not required.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public bool Handled { get; set; }
Public Property Handled As Boolean
| Type | Description |
|---|---|
| Boolean |
true if it was handled and the default dialog doesn’t need to be shown; otherwise, false.
|
If the event parameter’s Handled property is set to true within a handler, then the default dialog will not be shown. Otherwise, the default dialog will be shown in any case after any custom actions present have been performed within the event handler.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Handled property.
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-scheduler-localizer-translate-ui/CS/SchedulerLocalizerExample/Form1.cs#L24
e.DialogResult = form.ShowDialog();
e.Handled = true;
}
e.DialogResult = form.ShowDialog();
e.Handled = true;
} finally {
winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/Form1.cs#L40
e.DialogResult = form.ShowDialog();
e.Handled = true;
}
winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L80
e.DialogResult = myForm.ShowDialog();
e.Handled = true;
} finally {
winforms-scheduler-print-appointments-using-reports/CS/PrintingViaReports/Form1.cs#L212
schedulerControl1.Refresh();
e.Handled = true;
}
winforms-scheduler-localizer-translate-ui/VB/SchedulerLocalizationExample_VB/Form1.vb#L18
e.DialogResult = form.ShowDialog
e.Handled = True
Finally
e.DialogResult = form.ShowDialog()
e.Handled = True
Finally
winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/Form1.vb#L42
e.DialogResult = form.ShowDialog()
e.Handled = True
Finally
winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L82
e.DialogResult = myForm.ShowDialog()
e.Handled = True
Finally
winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L191
schedulerControl1.Refresh()
e.Handled = True
Finally
See Also