Skip to main content

RoundPanelSettings.AllowCollapsingByHeaderClick Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AllowCollapsingByHeaderClick { get; set; }

Property Value

Type Description
Boolean

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.

round-panel-collapse

A round panel can be collapsed if its header is visible (the RoundPanelSettings.View property is set to Standard, and the RoundPanelSettings.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
RoundPanelSettings.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