ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.Caption Property

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

Setting the Caption property to an empty string for a Split class object hides the heading area, even if other splits have non-empty captions.

Example

The following code sets the caption for the second split to Split(1):

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).Caption = "Split(1)"

·      C#

       this.c1TrueDBGrid1.Splits[1].Caption = "Split(1)";

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].Caption := 'Split(1)';

See Also

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


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