Xceed Toolkit Plus for WPF v4.6 Documentation
AccumulateChildResult Method (CumulativeStatFunction)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data.Stats Namespace > CumulativeStatFunction Class : AccumulateChildResult Method
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 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CumulativeStatFunction Class
CumulativeStatFunction Members