FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.5.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / CustomAggregate Event

In This Topic
    CustomAggregate Event
    In This Topic
    Occurs when the grid needs to calculate a custom aggregate.
    Syntax
    'Declaration
     
    Public Event CustomAggregate As EventHandler(Of CustomAggregateEventArgs)
    public event EventHandler<CustomAggregateEventArgs> CustomAggregate
    Event Data

    The event handler receives an argument of type CustomAggregateEventArgs containing data related to this event. The following CustomAggregateEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    CellRange affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    CellType of the range affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Index of the column affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    GridPanel that contains the range affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Gets or sets the custom aggregate calculated over the range.  
    Index of the row affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Remarks
    The event arguments contain a range that is to be aggregated; the event handler should calculate the custom aggregate and assign the value to the Result parameter.
    See Also