Skip to main content
Tab

ASPxRoundPanel.AllowCollapsingByHeaderClick Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(false)]
public virtual bool AllowCollapsingByHeaderClick { get; set; }

#Property Value

Type Default Description
Boolean false

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 Member Description
ASPxRoundPanel.Collapsed Gets or sets a value that specifies whether the panel is collapsed.
Client Member Description
ASPxClientRoundPanel.GetCollapsed Returns a value indicating whether the panel is collapsed.
ASPxClientRoundPanel.SetCollapsed Sets a value indicating whether the panel is collapsed.
See Also