ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.ColumnCaptionHeight Property

Gets or sets the height of column captions.

[Visual Basic]

Public Property ColumnCaptionHeight As Integer

[C#]

public int ColumnCaptionHeight {get;set;}

[Delphi]

public property ColumnCaptionHeight: Int32 read get_ColumnCaptionHeight write set_ColumnCaptionHeight;

Example

The following code uses the ColumnCaptionHeight property to set the height of the column caption so that it is twice its original size:

·      Visual Basic

       Me.C1TrueDBDropdown1.ColumnCaptionHeight = Me.C1TrueDBDropdown1.ColumnCaptionHeight * 2

·      C#

       this.c1TrueDBDropdown1.ColumnCaptionHeight = this.c1TrueDBDropdown1.ColumnCaptionHeight * 2;

·      Delphi

       Self.C1TrueDBDropdown1.ColumnCaptionHeight := Self.C1TrueDBDropdown1.ColumnCaptionHeight * 2;

See Also

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


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