Skip to main content
A newer version of this page is available. .

SchedulerControl.AppointmentFlyoutShowing Event

Occurs before the appointment flyout is shown and allows you to substitute a flyout with another control.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll


public event AppointmentFlyoutShowingEventHandler AppointmentFlyoutShowing

Event Data

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

Property Description
Cancel Gets or sets whether the appointment flyout is not shown.
Control Allows you to set a control to display instead of default appointment flyout content.
FlyoutData Provides access to data displayed in the appointment flyout.


The event arguments’ AppointmentFlyoutShowingEventArgs.FlyoutData property contains data for display in a flyout or using a custom control.


This code snippet substitutes an appointment flyout with a custom label control, as illustrated below:


    scheduler.AppointmentFlyoutShowing += scheduler_AppointmentFlyoutShowing;
public static void scheduler_AppointmentFlyoutShowing(object sender, AppointmentFlyoutShowingEventArgs e) {
    System.Windows.Forms.Label myControl = new System.Windows.Forms.Label();
    myControl.BackColor = Color.LightGreen;
    myControl.Size = new Size(200, 100);
    myControl.Text = e.FlyoutData.Subject;
    myControl.Font = new Font("Arial", 20);
    e.Control = myControl;
See Also