Skip to main content
A newer version of this page is available. .

XafPopupWindowControl.CustomizePopupWindowSize Event

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

Namespace: DevExpress.ExpressApp.Web.Controls

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

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 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 applications with the new web UI.
ShowPopupMode Specifies the transition for the popup window in the ASP.NET 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 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 applications.

The event data class exposes the following methods:

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

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomizePopupWindowSize event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also