Xceed DataGrid for WPF v7.2 Documentation
CovarianceFunction Constructor(String,String)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Stats Namespace > CovarianceFunction Class > CovarianceFunction Constructor : CovarianceFunction Constructor(String,String)
The unique, case-sensitive property name from which the result of the function can be retrieved.

The names of the columns whose values will be used to calculate the result. The provided names must correspond to the FieldName properties of two columns and must be separated by a comma.

Initializes a new instance of the CovarianceFunction class specifying the unique property name from which the result of the function can be retrieved as well as the names of the columns whose values will be used to calculate the result.
Syntax
'Declaration
 
Public Function New( _

   ByVal resultPropertyName As String, _

   ByVal sourcePropertyName As String _

)
'Usage
 
Dim resultPropertyName As String

Dim sourcePropertyName As String

 

Dim instance As New CovarianceFunction(resultPropertyName, sourcePropertyName)
public CovarianceFunction( 

   string resultPropertyName,

   string sourcePropertyName

)

Parameters

resultPropertyName
The unique, case-sensitive property name from which the result of the function can be retrieved.
sourcePropertyName

The names of the columns whose values will be used to calculate the result. The provided names must correspond to the FieldName properties of two columns and must be separated by a comma.

Remarks
Multiple source property names can be provided by separating the names with commas (,). The order in which the names are listed will determine the order of the values in the array when the Accumulate and Initialize methods are called.
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

CovarianceFunction Class
CovarianceFunction Members
Overload List