ASPxClientPopupControlBase.SetCollapsed(value) Method

Sets a value indicating whether the window is collapsed.

Declaration

SetCollapsed(value: boolean): void

Parameters

Name Type Description
value boolean

true, to collapse the window; otherwise, false.

Remarks

End-users can collapse and expand a window using the collapse button. Use the SetCollapsed method to programmatically collapse and expand the default popup window. To get the window collapse state on the client side, use the ASPxClientPopupControlBase.GetCollapsed method.

To specify the collapse state of the particular popup window, use the ASPxClientPopupControl.GetWindowCollapsed and ASPxClientPopupControl.SetWindowCollapsed methods.

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

See Also