Back to Devexpress

ASPxRoundPanel.Collapsed Property

aspnet-devexpress-dot-web-dot-aspxroundpanel-f3e6b795.md

latest2.3 KB
Original Source

ASPxRoundPanel.Collapsed Property

Gets or sets a value that specifies whether the panel is collapsed.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public virtual bool Collapsed { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property Collapsed As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, if the panel is collapsed; otherwise, false.

|

Remarks

Use the Collapsed property to specify whether the panel is collapsed.

End-users can collapse and expand a panel using the collapse button or clicking the panel header provided the ASPxRoundPanel.AllowCollapsingByHeaderClick property is set to true.

Note that panel collapse is allowed in the standard view only (the ASPxRoundPanel.View property is set to Standard ).

On the client side, you can control the panel collapse state using the ASPxClientRoundPanel.GetCollapsed and ASPxClientRoundPanel.SetCollapsed methods.

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

See Also

AllowCollapsingByHeaderClick

ShowCollapseButton

ASPxRoundPanel Class

ASPxRoundPanel Members

DevExpress.Web Namespace