ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GroupInfo.FooterText Property

Gets or sets the text that is displayed in the group footer row.

[Visual Basic]

Public Property FooterText As String

[C#]

public string FooterText {get;set;}

[Delphi]

public property FooterText: String read get_FooterText write set_FooterText;

Example

The following code sets the text that is displayed in the group footer row to First Name: {0}, where {0} is the value in the First column:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns("First").GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter

       Me.C1TrueDBGrid1.Columns("First").GroupInfo.FooterText = "First Name: {0}"

·      C#

       this.c1TrueDBGrid1.Columns["First"].GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter;

       this.c1TrueDBGrid1.Columns["First"].GroupInfo.FooterText = "First Name: {0}";

·      Delphi

       Self.C1TrueDBGrid1.Columns['First'].GroupInfo.Position := C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter;

       Self.C1TrueDBGrid1.Columns['First'].GroupInfo.FooterText := 'First Name: {0}';

See Also

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


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