ASPxSchedulerPrepareFormPopupContainerEventArgs.Popup Property
In This Article
Provides access to the popup window containing the form.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
NuGet Package: DevExpress.Web.Scheduler
#Declaration
public ASPxPopupControl Popup { get; }
#Property Value
Type | Description |
---|---|
ASPx |
An ASPx |
#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.PopupHorizontalAlign.WindowCenter;
e.Popup.PopupVerticalAlign = DevExpress.Web.PopupVerticalAlign.BottomSides;
};
See Also