List for WinForms supports Excel-like splits that divide the list into vertical and horizontal panes to provide users with different views of the data source. Each split is represented by a Split object and contains a group of adjacent columns that scroll as a unit.
When a C1List control is created, it contains one Split object by default. Many of the properties of the Split object also apply to the C1List control as a whole, so you do not need to concern yourself with splits until you actually need to use them, such as when creating fixed, nonscrolling columns. You can access the object as follows:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1List1.Splits(0).Caption = "Split00" |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1List1.Splits[0].Caption = "Split00"; |