ComponentOne FlexGrid for UWP
CustomAggregate Event

C1.UWP.FlexGrid Assembly > C1.Xaml.FlexGrid Namespace > C1FlexGrid Class : CustomAggregate Event
Occurs when the grid needs to calculate a custom aggregate.
Syntax
'Declaration
 
Public Event CustomAggregate As System.EventHandler(Of CustomAggregateEventArgs)
public event System.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.Xaml.FlexGrid.CellRangeEventArgs)
CellType of the range affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
Index of the column affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
GridPanel that contains the range affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
Gets or sets the custom aggregate calculated over the range.  
Index of the row affected by the event. (Inherited from C1.Xaml.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