SplitContainerControl.SplitGroupPanelCollapsing Event
Allows you to prevent a panel from being collapsed/restored.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v21.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Win.Design, 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.
SplitGroupPanelCollapsing