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.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowSplitView() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also