ComponentOne True DBGrid for WinForms
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid.BaseGrid Namespace / Frame Class / Caption Property

In This Topic
    Caption Property (Frame)
    In This Topic
    Gets or sets the grid's caption.
    Syntax
    'Declaration
     
    Public Property Caption As System.String
    public System.string Caption {get; set;}
    Remarks

    For a C1.Win.C1TrueDBGrid.C1TrueDBGrid control, this property determines the text displayed in the caption bar at the top of the grid.

    Setting the Caption property to an empty string for a C1.Win.C1TrueDBGrid.C1TrueDBGrid control hides its caption bar.

    For a C1.Win.C1TrueDBGrid.C1DataColumn object, this property determines the text displayed in the object's heading area.

    Setting the Caption property to an empty string for a C1.Win.C1TrueDBGrid.C1DataColumn object clears the text in the column's heading area but does not hide the heading. Column captions are only displayed if the grid's C1.Win.C1TrueDBGrid.C1TrueDBGrid.ColumnHeaders property is set to True.

    Setting the Caption property to an empty string for a C1.Win.C1TrueDBGrid.Split object hides the heading area, even if other splits have non-empty captions.

    See Also