Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data.Stats Namespace / StatFunction Class / Accumulate Method
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.


In This Topic
    Accumulate Method (StatFunction)
    In This Topic
    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 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