windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-e3d62bd3.md
Occurs before the Go To Date dialog window is invoked.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public event GotoDateFormEventHandler GotoDateFormShowing
Public Event GotoDateFormShowing As GotoDateFormEventHandler
The GotoDateFormShowing event's data class is GotoDateFormEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Date | Gets or sets the date shown in the Go To Date dialog window. |
| DialogResult | Gets or sets the return value of a dialog box. Inherited from ShowFormEventArgs. |
| Handled | Gets or sets whether an event was handled, if it was handled the default actions are not required. Inherited from ShowFormEventArgs. |
| Parent | Gets or sets a parent of the form being shown. Inherited from ShowFormEventArgs. |
| SchedulerViewType | Gets or sets the View type shown in the Go To Date dialog window. |
Handle the GotoDateFormShowing event to perform actions prior to the Go To Date dialog being shown. For instance, substitute the standard dialog with a custom one (and set the ShowFormEventArgs.Handled property to true.)
This dialog can be invoked either by an end-user, or via the SchedulerControl.ShowGotoDateForm method. Note that the new start date and the view type can be specified via the GotoDateFormEventArgs.Date and GotoDateFormEventArgs.SchedulerViewType properties, correspondingly.
See Also