How to collapse the splitter pane programmatically

This can be done programmatically using Collapsed property.

this.tabSplitterContainer1.Collapsed = true;
Me.tabSplitterContainer1.Collapsed = True

Collapse the splitter pane programmatically