Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SplitContainerControl.SplitGroupPanelCollapsing Event

Allows you to prevent a panel from being collapsed/restored.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DXCategory("Events")]
public event SplitGroupPanelCollapsingEventHandler SplitGroupPanelCollapsing

#Event Data

The SplitGroupPanelCollapsing event's data class is DevExpress.XtraEditors.SplitGroupPanelCollapsingEventArgs.

#Remarks

A panel within a SplitContainerControl can be collapsed and then restored via a click on the splitter. The SplitGroupPanelCollapsing event fires when a panel is about to be collapsed/restored. It can be used to prevent the operation.

To enable the panel collapsing feature, use the SplitContainerControl.CollapsePanel property.

See Also