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

GridControl.CreateSplitContainer() Method

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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