GridControl.RemoveSplitContainer() Method

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public void RemoveSplitContainer()
Public Sub 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