Xceed DataGrid for Silverlight Documentation
AccumulateChildResult Method (CumulativeStatFunction)


A StatResult containing the accumulation of the values from the child groups.
Accumulates the values required to calculate the result of the statistical function from the results of a child group.
Syntax
'Declaration
 
Protected Friend MustOverride Sub AccumulateChildResult( _
   ByVal childResult As StatResult _
) 
'Usage
 
Dim instance As CumulativeStatFunction
Dim childResult As StatResult
 
instance.AccumulateChildResult(childResult)
protected internal abstract void AccumulateChildResult( 
   StatResult childResult
)

Parameters

childResult
A StatResult containing the accumulation of the values from the child groups.
Remarks

If it is not possible to accumulate child results (e.g., the statistical function is accumulating values on a last level group), the Accumulate method will be called instead for every data item in the group.

If the RequiresAccumulation property is set to false, the AccumulateChildResult 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

CumulativeStatFunction Class
CumulativeStatFunction Members

Send Feedback