FormShowingEventArgs Class
Provides data for the events which show dialogs invoked by the scheduler control.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public abstract class FormShowingEventArgs :
EventArgs
Public MustInherit Class FormShowingEventArgs
Inherits EventArgs
Remarks
Events which use objects of classes derived from the FormShowingEventArgs base class occur before different scheduler control dialogs are invoked. The FormShowingEventArgs class introduces the FormShowingEventArgs.Form property, that allows replacing the default form with a custom form, and the FormShowingEventArgs.Cancel property, specifying the value that indicates whether to cancel invoking the form.
Examples
This example demonstrates how to replace the standard Appointment Recurrence form with a custom one via the SchedulerControl.RecurrenceFormShowing event.
Set the FormShowingEventArgs.Form property to the instance of a class specifying the custom recurrence form with the passed AppointmentFormController controller of the Edit Appointment form (RecurrenceFormEventArgs.ParentForm) from which the Appointment Recurrence form is invoked.