Skip to main content

SplitContainerControl Class

A control that consists of two panels separated by a splitter, which can be dragged by an end user to resize the panels.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v25.1.dll

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

Declaration

public class SplitContainerControl :
    GroupControl,
    IXtraSerializable,
    ISupportJsonXtraSerializer,
    ISupportXtraSerializer

Remarks

The Split Container consists of two panels that can contain other controls. These panels are separated by a splitter used to resize the panels.

SplitContainerControl

The main properties that maintain the control’s functionality are as follows:

To enable the auto-scrolling functionality for a SplitContainerControl‘s panels, add XtraScrollableControl objects to the panels. Set the Dock property for the XtraScrollableControl objects to Fill.

Example: Save/restore a Splitter Position

This example serializes and deserializes a splitter position.

View Example

WinForms SplitContainerControl - Save/restore a Splitter Position, DevExpress

See Also