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

ASPxClientPopupControlBase.BeforeResizing Event

Occurs on the client side when window resizing initiates.

Declaration

BeforeResizing: ASPxClientEvent<ASPxClientPopupWindowEventHandler<ASPxClientPopupControlBase>>

Event Data

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

Property Description
window Gets the popup window object related to the event.

Remarks

The BeforeResizing and ASPxClientPopupControlBase.AfterResizing events allow a window’s content to be programmatically hidden/minimized and restored when the window is resized by an end-user.

These events are useful in allowing a window to be resized as end-user needs dictate. For instance, typically, an end-user can’t resize a window to make it smaller than its content (such as an image). Now, to allow such window resizing,you can programmatically minimize or hide the window’s content, by handling the BeforeResizing event, and restore/update the content’s size according to the new size of the window within the ASPxClientPopupControlBase.AfterResizing event handler.

See Also