Back to Devexpress

ASPxSchedulerPrepareFormPopupContainerEventArgs.Popup Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxschedulerprepareformpopupcontainereventargs.md

latest2.3 KB
Original Source

ASPxSchedulerPrepareFormPopupContainerEventArgs.Popup Property

Provides access to the popup window containing the form.

Namespace : DevExpress.Web.ASPxScheduler

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

NuGet Package : DevExpress.Web.Scheduler

Declaration

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

Property Value

TypeDescription
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.

csharp
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;
};

See Also

ASPxSchedulerPrepareFormPopupContainerEventArgs Class

ASPxSchedulerPrepareFormPopupContainerEventArgs Members

DevExpress.Web.ASPxScheduler Namespace