SchedulerControl.GotoDateFormShowing Event
Occurs before the Go To Date form is invoked.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Event Data
The GotoDateFormShowing event's handler receives an argument of the GotoDateFormEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow |
Gets or sets a value indicating whether end-users are allowed to resize the form.
Inherited from Form |
Cancel |
Gets or sets the value indicating whether to cancel invoking the form.
Inherited from Form |
Date | Gets the initial date shown in the Go To Date dialog. |
Form |
Gets or sets the form to be invoked.
Inherited from Form |
Scheduler |
Gets the initial View type selected in the Go To Date dialog. |
Size |
Obsolete. This API is obsolete now.
Inherited from Form |
View |
Gets or sets the View Model for the form which will be invoked.
Inherited from Form |
Views | Gets the repository of Views that can be selected in the Go To Date dialog. |
#Remarks
Handle the GotoDateFormShowing event to perform any actions before the Go To Date dialog is shown. For instance, substitute the standard dialog with a custom one.
This dialog can be invoked either by an end-user, or via the SchedulerControl.ShowGotoDateForm method. Note that the date and view type initially selected in the Go To Date dialog, can be obtained via the GotoDateFormEventArgs.Date and GotoDateFormEventArgs.SchedulerViewType properties, correspondingly.