ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.CaptionHeight Property

Gets or sets the height of the 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;

Example

The following code makes the caption in the second split twice as high:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).CaptionHeight = Me.C1TrueDBGrid1.Splits(1).CaptionHeight * 2

·      C#

       this.c1TrueDBGrid1.Splits[1].CaptionHeight = this.c1TrueDBGrid1.Splits[1].CaptionHeight * 2;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].CaptionHeight := Self.C1TrueDBGrid1.Splits[1].CaptionHeight * 2;

See Also

Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.