windowsforms-devexpress-dot-xtragrid-dot-gridsplitcontainer-5968ab34.md
Gets the grid control displayed in the container’s second region.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[Browsable(false)]
public GridControl SplitChildGrid { get; }
<Browsable(False)>
Public ReadOnly Property SplitChildGrid As GridControl
| Type | Description |
|---|---|
| GridControl |
A GridControl displayed in the container’s second region. null if the Split View is not active (the second region is hidden).
|
See GridSplitContainer.Grid to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SplitChildGrid property.
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.
winforms-grid-split-presentation/CS/Form1.cs#L45
// Customize the second grid control.
GridControl secondGrid = gridSplitContainer.SplitChildGrid;
GridView secondView = secondGrid.MainView as GridView;
winforms-grid-split-presentation/VB/Form1.vb#L47
' Customize the second grid control.
Dim secondGrid As GridControl = gridSplitContainer.SplitChildGrid
Dim secondView As GridView = TryCast(secondGrid.MainView, GridView)
See Also