ComponentOne True DBGrid for WinForms
Customizing the Grid's Appearance / Captions, Headers, and Footers / Column and Grid Captions
In This Topic
    Column and Grid Captions
    In This Topic

    For C1DataColumn objects, the Caption property specifies the text that appears in each column's header area.


    If using True DBGrid for WinForms controls bound to a DataSet, the column captions are set automatically at run time.

    Column captions can also be set in the designer using the C1TrueDBGrid Designer, or in code by manipulating the C1DataColumnCollection.

    The Caption property also applies to the C1TrueDBGrid control itself, which provides a descriptive header for the entire grid.


    By default, C1TrueDBGrid displays headings for each column; even the Caption property of an individual column is never set explicitly. However, all column headings can be hidden by setting the ColumnHeaders property to False.


    See Also