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

ASPxClientPopupControl.SetWindowCollapsed(window, value) Method

Sets a value indicating whether the specified window is collapsed.

Declaration

SetWindowCollapsed(window: ASPxClientPopupWindow, value: boolean): void

Parameters

Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object specifying the popup window.

value boolean

true to collapse the window; otherwise, false.

Remarks

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