ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.ColumnHeaders Property

Gets or sets a value indicating the visibility of column headers.

[Visual Basic]

Public Property ColumnHeaders As Boolean

[C#]

public bool ColumnHeaders {get;set;}

[Delphi]

public property ColumnHeaders: Boolean read get_ColumnHeaders write set_ColumnHeaders;

Remarks

If True (the default), the control's column headers are displayed.

If False, the control's column headers are not displayed.

Use the C1DataColumn.Caption property to set the heading text of an individual column.

Example

The following code does not display the column headers:

·      Visual Basic

       Me.C1TrueDBDropdown1.ColumnHeaders = False

·      C#

       this.c1TrueDBDropdown1.ColumnHeaders = false;

·      Delphi

       Self.C1TrueDBDropdown1.ColumnHeaders := False;

See Also

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


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