Skip to main content

GridControl.CreateSplitContainer() Method

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public GridSplitContainer CreateSplitContainer()

Returns

Type Description
GridSplitContainer

A GridSplitContainer that is the created Split Container.

Remarks

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

Split-AddSplitContainer

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