The following tables list the members exposed by SummaryCalculator.
Name | Description | |
---|---|---|
DataSource | Gets the data source against which summaries are calculated. | |
DisplayName | Gets the display name of the calculator to be displayed in the UI. | |
IsSummaryDirty | Determines whether the summary is dirty and requires recalculation. | |
Operand | The type of summary this is. | |
PropertyName | Gets the name of the property associated with the summary calculation. | |
PropertyType | Gets the data type associated with the property name. | |
ShouldDisplay | Controls if the summary result should be displayed. |
Name | Description | |
---|---|---|
Aggregate | Processes individual items to produce a summary result. | |
BeginCalculation | Starts the summary calculation. | |
EndCalculation | Ends the summary calculation and returns the result. | |
GetResults | Ends the calculation and retreives the results. | |
ItemAdded | Notifies when an item is added to the data source so the summary result can be updated. | |
ItemRemoved | Notifies when an item is removed from the data source so the summary result can be updated. |
Name | Description | |
---|---|---|
GetExpectedTypeFromDouble | Converts the double value into the expected type the summary expects. | |
GetItemAsDouble | Gets the property value from an item and casts it to a double. | |
GetValueAsDouble | Gets a value as a double if possible. |