Back to Devexpress

ASPxRoundPanel.AllowCollapsingByHeaderClick Property

aspnet-devexpress-dot-web-dot-aspxroundpanel-6fdb1f2a.md

latest2.8 KB
Original Source

ASPxRoundPanel.AllowCollapsingByHeaderClick Property

Specifies whether a user can collapse a round panel with a mouse click.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true, to allow users to collapse a panel with a mouse click; otherwise, false.

|

Remarks

Set the AllowCollapsingByHeaderClick property to true to allow users to collapse and expand a round panel with a mouse click.

A round panel can be collapsed if its header is visible (the ASPxRoundPanel.View property is set to Standard , and the ASPxRoundPanel.ShowHeader property is set to true).

Collapse Panel by UI

Users can collapse and expand a panel in two ways.

Collapse Panel in Code

Server MemberDescription
ASPxRoundPanel.CollapsedGets or sets a value that specifies whether the panel is collapsed.
Client MemberDescription
ASPxClientRoundPanel.GetCollapsedReturns a value indicating whether the panel is collapsed.
ASPxClientRoundPanel.SetCollapsedSets a value indicating whether the panel is collapsed.

See Also

ASPxRoundPanel Class

ASPxRoundPanel Members

DevExpress.Web Namespace