Skip to main content

ASPxClientPopupControl.SetWindowCollapsed(window, value) Method

Sets a value indicating whether the specified window is collapsed.


    window: ASPxClientPopupWindow,
    value: boolean
): void


Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object specifying the popup window.

value boolean

true to collapse the window; otherwise, false.


End-users can collapse and expand a window using the collapse button. Use the client-side SetWindowCollapsed method to programmatically collapse and expand the popup window. To get the window collapse state on the client side, use the ASPxClientPopupControl.GetWindowCollapsed method.

To specify the collapse state of the default popup window, use the ASPxClientPopupControlBase.GetCollapsed and ASPxClientPopupControlBase.SetCollapsed methods.

On the server side, the window collapse state is controlled by the PopupWindow.Collapsed property.

See Also