[]
Splits can be added and removed using the RemoveHorizontalSplit, InsertHorizontalSplit, RemoveVerticalSplit, and RemoveHorizontalSplit methods. Each method takes a zero-based split index:
// Create a split with index 3.
this.c1TrueDBGrid1.InsertVerticalSplit(3);
// Remove the split with index 3.
this.c1TrueDBGrid1.RemoveVerticalSplit(3);
You can determine the number of splits in a grid using the SplitCollection Count property:
// Set variable equal to the number of splits in C1TrueDBGrid1.
variable = this.c1TrueDBGrid1.Splits.Count;