Xceed DataGrid for Silverlight Documentation
InitializeFromInstance Method (StatFunction)


A reference to the StatFunction whose property values will be copied to the current instance of the same-type statistical function.
Initializes the properties of the current instance of the same-type statistical function when a new instance of the same function needs to be created.
Syntax
'Declaration
 
Protected Friend Overridable Sub InitializeFromInstance( _
   ByVal source As StatFunction _
) 
'Usage
 
Dim instance As StatFunction
Dim source As StatFunction
 
instance.InitializeFromInstance(source)
protected internal virtual void InitializeFromInstance( 
   StatFunction source
)

Parameters

source
A reference to the StatFunction whose property values will be copied to the current instance of the same-type statistical function.
Remarks

The InitializeFromInstance method will only be called when child results are calculated.

When deriving from the StatFunction class, the InitializeFromInstance method should be overridden only if a property that affects the end result is added, in order to include the new property in the initializing process (e.g., the IncludeNullValues property of the CountFunction class). The property should be initialized using the value of the source statistical function received as a parameter after the base implementation has been called. In this case, the IsEquivalent and GetEquivalenceKey methods should also be overridden.

Requirements

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

See Also

Reference

StatFunction Class
StatFunction Members

Send Feedback