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

    Each split within the list contains at least one C1DisplayColumn object. All of the properties related to a column's display are contained under this object. Unlike the C1DataColumn properties, the properties of the C1DisplayColumn object are split-specific. Changing a C1DisplayColumn property only changes that value for only the specified column inside the specified split. You can access the object as follows:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1List1.Splits(0, 0).DisplayColumns(0).Style.ForeColor = System.Drawing.Color.Blue
    

    To write code in C#

    C#
    Copy Code
    this.c1List1.Splits[0, 0].DisplayColumns[0].Style.ForeColor = System.Drawing.Color.Blue;
    
    See Also