Back to Devexpress

GridControl.CreateSplitContainer() Method

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-f35ef2df.md

latest2.3 KB
Original Source

GridControl.CreateSplitContainer() Method

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

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public GridSplitContainer CreateSplitContainer()
vb
Public Function CreateSplitContainer As GridSplitContainer

Returns

TypeDescription
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:

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

Horizontal

GridSplitContainer.ShowSplitView

Split Presentation

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace