ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / BeforeSubtotal Event

In This Topic
    BeforeSubtotal Event (C1FlexPivotGrid)
    In This Topic
    Syntax
    'Declaration
     
    Public Event BeforeSubtotal As C1.Win.FlexGrid.SubtotalEventHandler
    public event C1.Win.FlexGrid.SubtotalEventHandler BeforeSubtotal
    Event Data

    The event handler receives an argument of type C1.Win.FlexGrid.SubtotalEventArgs containing data related to this event. The following SubtotalEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the calculated aggregate value for the group.  
    Gets the index of the bottom row in the group.  
    Whether to cancel the creation of the new subtotal row.  
    Gets or sets the text to insert in the new subtotal row.  
    Gets the C1.Win.FlexGrid.AggregateEnum value that specifies the type of aggregate to calculate..  
    Gets the index of the first column in the range used to detect group breaks.  
    Gets the index of the last column in the range used to detect group breaks.  
    Gets a value that determines whether the subtotal row is a new row or the subtotal is being added to an existing subtotal row.  
    Outline level to assign to the new subtotal rows.  
    Gets the index of the new subtotal row.  
    Gets or sets the C1.Win.FlexGrid.CellStyle to be applied to the new subotal row.  
    Gets the index of the top row in the group.  
    Gets the index of the column that contains values being aggregated.  
    See Also