Gets or sets the height of the grid's caption.
[Visual Basic]
Public Property CaptionHeight As Integer
[C#]
public int CaptionHeight {get;set;}
[Delphi]
public property CaptionHeight: Int32 read get_CaptionHeight write set_CaptionHeight;
Remarks
This property requires that the Caption property of the grid has a value.
Example
The following code sets the caption of the grid to "Customers" and the caption height to 50 pixels:
Me.C1TrueDBGrid1.Caption = "Customers"
Me.C1TrueDBGrid1.CaptionHeight = 50
· C#
this.c1TrueDBGrid1.Caption = "Customers";
this.c1TrueDBGrid1.CaptionHeight = 50;
· Delphi
Self.C1TrueDBGrid1.Caption := 'Customers';
Self.C1TrueDBGrid1.CaptionHeight := 50;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |