ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.FooterText Property

Gets or sets the text displayed in the column footer.

[Visual Basic]

Public Property FooterText As String

[C#]

public string FooterText {get;set;}

[Delphi]

public property FooterText: String read get_FooterText write set_FooterText;

Remarks

Setting the FooterText property to an empty string clears the text in the column's footing area but does not hide the footing. Column footings are only displayed if the grid's C1TrueDBGrid.ColumnFooters property is set to True and the Split.ColumnFooterHeight property is not set to 0.

Example

The following code sets the FooterText property:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).FooterText = "Footer0"

       Me.C1TrueDBGrid1.Columns(1).FooterText = "Footer1"

·      C#

       this.c1TrueDBGrid1.Columns[0].FooterText = "Footer0";

       this.c1TrueDBGrid1.Columns[1].FooterText = "Footer1";

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].FooterText := 'Footer0';

       Self.C1TrueDBGrid1.Columns[1].FooterText := 'Footer1';

See Also

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


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