The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientPopupControlBase.BeforeResizing Event

Occurs on the client side when window resizing initiates.

Declaration

BeforeResizing: ASPxClientEvent<ASPxClientPopupWindowEventHandler<ASPxClientPopupControlBase>>

Event Data

The BeforeResizing event handler receives an argument of the ASPxClientPopupWindowEventArgs type. 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