Skip to main content

ASPxClientRoundPanel.SetCollapsed(collapsed) Method

Sets a value indicating whether the panel is collapsed.

Declaration

SetCollapsed(
    collapsed: boolean
): void

Parameters

Name Type Description
collapsed boolean

true, to collapse the panel; otherwise, false.

Remarks

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

On the server side, the panel collapse state is controlled by the ASPxRoundPanel.Collapsed property.

When the ShowHeader property is set to false, the SetCollapsed method has no effect.

See Also