GridControl.CreateSplitContainer() Method

Creates a Split Container and places the current GridControl to it.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll


public GridSplitContainer CreateSplitContainer()
Public Function CreateSplitContainer As GridSplitContainer


Type Description

A GridSplitContainer that is the created Split Container.


This method is automatically called when you create a Split Container at design time via the Grid Control's Tasks pane:


You can customize various settings of the created Split Container. For instance, use the GridSplitContainer.Horizontal property to specify whether the Grid Control needs to be divided horizontally or vertically. The GridSplitContainer.SplitterPosition property allows you to set the initial position of the splitter between two Grid Controls, etc

See Split Presentation to learn more.

See Also