Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridControl.RemoveSplitContainer() Method

In This Article

Removes the Grid Control from a Split Container and disposes of this Split Container.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public void RemoveSplitContainer()

#Remarks

The GridControl supports the Split Presentation feature that allows you to divide the grid control into two view regions. The GridControl.CreateSplitContainer method creates a Split Container and places the Grid Control onto this Split Container, which is a necessary step for implementing the Split Presentation. The RemoveSplitContainer method performs the opposite operation, by removing the Grid Control from a Split Container and disposing of the Split Container.

Typically, there is no need to call the GridControl.CreateSplitContainer and RemoveSplitContainer methods manually from code. Split containers can be created at design time, as described in the Split Presentation topic.

See Also