Back to Devexpress

SchedulerControl.GotoDateFormShowing Event

windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-e3d62bd3.md

latest3.2 KB
Original Source

SchedulerControl.GotoDateFormShowing Event

Occurs before the Go To Date dialog window is invoked.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public event GotoDateFormEventHandler GotoDateFormShowing
vb
Public Event GotoDateFormShowing As GotoDateFormEventHandler

Event Data

The GotoDateFormShowing event's data class is GotoDateFormEventArgs. The following properties provide information specific to this event:

PropertyDescription
DateGets or sets the date shown in the Go To Date dialog window.
DialogResultGets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.
HandledGets or sets whether an event was handled, if it was handled the default actions are not required. Inherited from ShowFormEventArgs.
ParentGets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.
SchedulerViewTypeGets 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.

See Also

ShowGotoDateForm

SchedulerControl Class

SchedulerControl Members

DevExpress.XtraScheduler Namespace