Xceed DataGrid for Silverlight Documentation
Accumulate Method (StatFunction)


An array of values that will be accumulated to calculate the result of the statistical function. The order in which the values are provided corresponds to the order of the names specified by the SourcePropertyName property.
Accumulates the values required to calculate the result of the statistical function.
Syntax
'Declaration
 
Protected Friend MustOverride Sub Accumulate( _
   ByVal values() As Object _
) 
'Usage
 
Dim instance As StatFunction
Dim values() As Object
 
instance.Accumulate(values)
protected internal abstract void Accumulate( 
   object[] values
)

Parameters

values
An array of values that will be accumulated to calculate the result of the statistical function. The order in which the values are provided corresponds to the order of the names specified by the SourcePropertyName property.
Remarks

If RequiresAccumulation is false, the Accumulate method will never be called.

If an exception occurs in the Accumulate, AccumulateChildResult, or GetResult methods, it will be caught by a grid and returned as the result of the statistical function. In some cases, such as when the statistical function's required parameters are being validated in the Validate method, the exception will not be caught since if the validation fails the statistical function is not able to calculate its result.

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

StatFunction Class
StatFunction Members

Send Feedback