Gets or sets the grid's caption.
[Visual Basic]
Public Property Caption As String
[C#]
public string Caption {get;set;}
[Delphi]
public property Caption: String read get_Caption write set_Caption;
Remarks
For a 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 C1TrueDBGrid control hides its caption bar.
Example
The following code sets the Caption property for the grid:
Me.C1TrueDBGrid1.Caption = "Grid Caption"
· C#
this.c1TrueDBGrid1.Caption = "Grid Caption";
· Delphi
Self.C1TrueDBGrid1.Caption := 'Grid Caption';
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |