ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / SubtotalEventArgs Class / SubtotalEventArgs Constructor
AggregateEnum value that specifies the type of aggregate to calculate.
Outline level to assign to the new subtotal rows. This parameter allows the creation of multi-level subtotals and affects the display of the outline tree.
First column in the range used to detect group breaks.
Last column in the range used to detect group breaks.
Column that contains values being aggregated.
Text to insert in the new subtotal row.
Index of the new subtotal row.
Whether the subtotal row is a new row or the subtotal is being added to an existing subtotal row.
Index of the top row in the group.
Index of the bottom row in the group.
Calculated aggregate value for the group.
CellStyle to be applied to the new subotal row.

In This Topic
    SubtotalEventArgs Constructor
    In This Topic
    Initializes a new instance of a SubtotalEventArgs object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal function As AggregateEnum, _
       ByVal level As Integer, _
       ByVal groupFrom As Integer, _
       ByVal groupTo As Integer, _
       ByVal totalOn As Integer, _
       ByVal caption As String, _
       ByVal newRowIndex As Integer, _
       ByVal isNewRow As Boolean, _
       ByVal top As Integer, _
       ByVal bottom As Integer, _
       ByVal aggregateValue As Object, _
       ByVal style As CellStyle _
    )
    public SubtotalEventArgs( 
       AggregateEnum function,
       int level,
       int groupFrom,
       int groupTo,
       int totalOn,
       string caption,
       int newRowIndex,
       bool isNewRow,
       int top,
       int bottom,
       object aggregateValue,
       CellStyle style
    )

    Parameters

    function
    AggregateEnum value that specifies the type of aggregate to calculate.
    level
    Outline level to assign to the new subtotal rows. This parameter allows the creation of multi-level subtotals and affects the display of the outline tree.
    groupFrom
    First column in the range used to detect group breaks.
    groupTo
    Last column in the range used to detect group breaks.
    totalOn
    Column that contains values being aggregated.
    caption
    Text to insert in the new subtotal row.
    newRowIndex
    Index of the new subtotal row.
    isNewRow
    Whether the subtotal row is a new row or the subtotal is being added to an existing subtotal row.
    top
    Index of the top row in the group.
    bottom
    Index of the bottom row in the group.
    aggregateValue
    Calculated aggregate value for the group.
    style
    CellStyle to be applied to the new subotal row.
    See Also