Version

ListCalculator Class Members

The following tables list the members exposed by ListCalculator.

Public Constructors
 NameDescription
Public ConstructorListCalculator ConstructorInitializes a new instance of ListCalculator  
Public Properties
 NameDescription
Public PropertyCalculationManagerCalculationManager used to perform calculations. (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public PropertyItemCalculationsItem calculations. These calculations are done across a single item, like "[A] + [B]" where A and B are properties of the data items in the Items collection. One can also refer to other item or list calculations using ReferenceIds. For example, if there's a calculation with 'Total' ReferenceId, one can have a formula like "[A] / [Total]".  
Public PropertyItemsThe collection of items on which calculations will be performed.  
Public PropertyItemsSourceReturns or sets an enumerable used to populate the Items collection  
Public PropertyListCalculationsList calculations. These calculations are done across all the items of the list, like "sum([A])" where A is a property of the data items in the Items collection. One can also refer to other item or list calculations using ReferenceIds.  
Public PropertyListResultsReturns a dictionary containing the results of the list calculations (read-only).  
Public PropertyPropertiesToExcludeIdentifies properties, in a case-insensitive comma delimited list, of an item to exclude from the calculation network (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public PropertyPropertiesToIncludeIdentifies properties, in a case-insensitive comma delimited list, of an item to expose to the calculation network (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public PropertyReferenceIdIdentifies the calculator to the calculation network. (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public PropertyValueConverterSpecifies the converter to use to convert between the underlying value of the source item to the value that's used in calculations. (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Protected Properties
 NameDescription
Protected PropertyHasListeners (Inherited from Infragistics.PropertyChangeNotifier)
Public Methods
 NameDescription
Public MethodEnsureCalculatedEnsures calculations are performed synchronously. (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public MethodGetItemCalculationResultGets the result of a item calculation in the ItemCalculations using the ItemCalculationBase.ReferenceId identifier.  
Public MethodToStringReturns a string that represents this object;  
Protected Methods
 NameDescription
Protected MethodOnFirstListenerAdding (Inherited from Infragistics.PropertyChangeNotifier)
Protected MethodOnHasListenersChanged (Inherited from Infragistics.PropertyChangeNotifier)
Protected MethodOnPropertyChanged (Inherited from Infragistics.PropertyChangeNotifierExtended)
Protected MethodRaisePropertyChangedEvent (Inherited from Infragistics.PropertyChangeNotifier)
Protected MethodSetField<T> (Inherited from Infragistics.PropertyChangeNotifierExtended)
Public Events
 NameDescription
Public EventDataAccessErrorOccurs when an exception is thrown while attempting to get or set a property on an item. (Inherited from Infragistics.Calculations.ItemCalculatorBase)
Public EventPropertyChanged (Inherited from Infragistics.PropertyChangeNotifier)
See Also