Skip to main content

SchedulerSettings.PrepareAppointmentFormPopupContainer Property

Enables you to perform custom actions when the pop-up container for the appointment editing form is prepared for display.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ASPxSchedulerPrepareFormPopupContainerHandler PrepareAppointmentFormPopupContainer { get; set; }

Property Value

Type Description
ASPxSchedulerPrepareFormPopupContainerHandler

A method to which custom processing is delegated.

Remarks

Handle the PrepareAppointmentFormPopupContainer event to modify the pop-up container of the Appointment Form. This container is available using the ASPxSchedulerPrepareFormPopupContainerEventArgs.Popup property of the event arguments.

Example

settings.PrepareAppointmentFormPopupContainer += (s, e) => {
    e.Popup.HeaderText = "You can edit the details about a meeting here";
    e.Popup.Width = Unit.Pixel(800);
    e.Popup.BackColor = Color.Wheat;
    e.Popup.ContentStyle.Paddings.Padding = Unit.Pixel(0);
    ...
    e.Popup.PopupHorizontalOffset = -100;
    e.Popup.PopupVerticalOffset = -100;
    e.Popup.PopupHorizontalAlign = DevExpress.Web.PopupHorizontalAlign.WindowCenter;
    e.Popup.PopupVerticalAlign =  DevExpress.Web.PopupVerticalAlign.BottomSides;
};

Scheduler Appointment Form

See Also