Skip to main content

SchedulerControl.GotoDateFormShowing Event

Occurs before the Go To Date form is invoked.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public event GotoDateFormEventHandler GotoDateFormShowing

#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
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 to be invoked. Inherited from FormShowingEventArgs.
SchedulerViewType Gets the initial View type selected in the Go To Date dialog.
SizeToContent Obsolete. This API is obsolete now. 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

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.

See Also