ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / TextBox Class / SummaryGroup Property
Example

In This Topic
    SummaryGroup Property (TextBox)
    In This Topic
    Gets or sets the name of the group header section that is used to reset the summary value when calculating subtotals.
    Syntax
    'Declaration
     
    Public Property SummaryGroup As String
    public string SummaryGroup {get; set;}
    Remarks

    For example, setting a sum of Price for an Order group header will reset the sum to zero for each order group.   The property is only used when SummaryType is set to SummaryType.SubTotal

    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.textBox1.SummaryGroup = null;
        this.textBox1.SummaryRunning = SummaryRunning.None;
        this.textBox1.SummaryType = SummaryType.None;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.TextBox1.SummaryGroup = Nothing
       Me.TextBox1.SummaryRunning = SummaryRunning.None
       Me.TextBox1.SummaryType = SummaryType.None
    End Sub
    See Also