Skip to main content

GridSplitContainer.ShowSplitView() Method

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

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 snippet (auto-collected from DevExpress Examples) contains a reference 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