Skip to main content
A newer version of this page is available. .

GridSplitContainer.ShowSplitView() Method

Displays a splitter that divides the container into two regions, each displaying a Grid Control.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v21.2.dll

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

Declaration

public void ShowSplitView()

Remarks

This method is equivalent to choosing the Split menu command by an end-user at runtime:

Split-SplitCommand

The ShowSplitView method and the Split menu command split the GridSplitContainer.Grid horizontally or vertically, according to the GridSplitContainer.Horizontal property. The GridSplitContainer.SplitViewCreated and GridSplitContainer.SplitViewShown events allow you to respond to activating the Split View.

The GridSplitContainer.HideSplitView method performs the opposite operation, by removing the splitter. See Split Presentation to learn more.

See Also