ComponentOne List for WinForms
In This Topic
    C1DataColumn Object
    In This Topic

    Each column within a C1List control, C1Combo control, or Split object is represented by two column objects, one global and one split specific. All of the properties related to data access and formatting are contained under the C1DataColumn object. The properties of the C1DataColumn object are global in scope, which means changing a C1DataColumn property changes that value for all columns, even across splits. You can access the C1DataColumn object as follows:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1List1.Columns(0).Caption = "Region"
    

    To write code in C#

    C#
    Copy Code
    this.c1List1.Columns[0].Caption = "Region";
    
    See Also