SchedulerControl.GotoDateFormShowing Event
Occurs before the Go To Date dialog window is invoked.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
public event GotoDateFormEventHandler GotoDateFormShowing
#Event Data
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. |
Dialog |
Gets or sets the return value of a dialog box.
Inherited from Show |
Handled |
Gets or sets whether an event was handled, if it was handled the default actions are not required.
Inherited from Show |
Parent |
Gets or sets a parent of the form being shown.
Inherited from Show |
Scheduler |
Gets or sets the View type shown in the Go To Date dialog window. |
#Remarks
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.