ASPxSchedulerPrepareFormPopupContainerEventArgs.Popup Property

Provides access to the popup window containing the form.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

public ASPxPopupControl Popup { get; }
Public ReadOnly Property Popup As ASPxPopupControl

Property Value

Type Description
ASPxPopupControl

An ASPxPopupControl which is the container for the form.

Remarks

You can modify the Popup window properties, such as the background color, style or Window Header to customize the form's appearance.

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.ASPxClasses.PopupHorizontalAlign.WindowCenter;
    e.Popup.PopupVerticalAlign =  DevExpress.Web.ASPxClasses.PopupVerticalAlign.BottomSides;
};

See Also