Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

XafPopupWindowControl.CustomizePopupWindowSize Event

Occurs before the popup window is shown in the ASP.NET Web Forms application.

Namespace: DevExpress.ExpressApp.Web.Controls

Assembly: DevExpress.ExpressApp.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public event EventHandler<CustomizePopupWindowSizeEventArgs> CustomizePopupWindowSize

Event Data

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

Property Description
ContentUrl Specifies the Uniform Resource Locator of the content.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
Height Specifies the height of the popup window in the ASP.NET Web Forms applications.
PopupFrame Provides access to the Frame which will arranged in a target popup window.
PopupTemplateType Specifies the template for the pop-up window display in the ASP.NET Web Forms applications with the new web UI.
ShowPopupMode Specifies the transition for the popup window in the ASP.NET Web Forms applications with the new web UI.
ShowViewSource Returns an object containing a set of parameters that specify the context from which the ShowViewStrategyBase.ShowView method has been invoked.
Size Specifies the size of a popup window in the ASP.NET Web Forms applications.
SourceFrame Returns a Frame object, from which the popup window is invoked.
Width Specifies the width of a popup window in the ASP.NET Web Forms applications.

The event data class exposes the following methods:

Method Description
FindPopupWindow(WebApplication) Returns a specified popup window in the current ASP.NET Web Forms application.

Remarks

Refer to the How to: Adjust the Size and Style of Pop-up Dialogs (ASP.NET Web Forms) topic to learn how to subscribe to the CustomizePopupWindowSize event.

See Also