Gets or sets the type of aggregate computed for a grouped row.
[Visual Basic]
Public Property Aggregate As AggregateEnum
[C#]
public AggregateEnum Aggregate {get;set;}
[Delphi]
public property Aggregate: AggregateEnum read get_Aggregate write set_Aggregate;
Example
The following code uses the Aggregate property to compute the average for a grouped row:
Me.C1TrueDBGrid1.Columns(0).Aggregate = C1.Win.C1TrueDBGrid.AggregateEnum.Average
· C#
this.c1TrueDBGrid1.Columns[0].Aggregate = C1.Win.C1TrueDBGrid.AggregateEnum.Average;
· Delphi
Self.c1TrueDBGrid1.Columns[0].Aggregate := C1.Win.C1TrueDBGrid.AggregateEnum.Average;
See Also
C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |