Skip to main content

SchedulerControl.GotoDateFormShowing Event

Occurs before the Go To Date form is invoked.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.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
AllowResize Gets or sets a value indicating whether end users are allowed to resize the form. Inherited from FormShowingEventArgs.
Cancel Gets or sets the value indicating whether to cancel invoking the form. Inherited from FormShowingEventArgs.
Date Gets the initial date shown in the Go To Date dialog.
Form Gets or sets the form which will be invoked. Inherited from FormShowingEventArgs.
SchedulerViewType Gets the initial View type shown in the Go To Date dialog.
SizeToContent Obsolete. This property is obsolete. Inherited from FormShowingEventArgs.
ViewModel Gets or sets the View Model for the form which will be invoked. Inherited from FormShowingEventArgs.
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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

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.

See Also