SchedulerControl.GotoDateFormShowing Event
Occurs before the Go To Date form is invoked.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.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 |
---|---|
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 which will be invoked.
Inherited from Form |
Scheduler |
Gets the initial View type shown in the Go To Date dialog. |
Size |
Obsolete. This property is obsolete.
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
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
Handle the GotoDateFormShowing event to perform 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 shown in the Go To Date dialog, can be obtained via the GotoDateFormEventArgs.Date and GotoDateFormEventArgs.SchedulerViewType properties, correspondingly.