Spread WPF Documentation
Precedents Property


GrapeCity.CalcEngine Namespace > CalcNode Class : Precedents Property
Gets or sets the precedents nodes which indicates what nodes affect the value of the current node.
Syntax
'Declaration
 
Public Property Precedents As System.Collections.Generic.List(Of CalcNode)
'Usage
 
Dim instance As CalcNode
Dim value As System.Collections.Generic.List(Of CalcNode)
 
instance.Precedents = value
 
value = instance.Precedents
public System.Collections.Generic.List<CalcNode> Precedents {get; set;}
Example
There are following formulas:
Identity Formula
A1 =B2+B3
A2 =SUM(B:B)
B2 =C3+C4
B3 =0
C3 =1
C4 =2
Then the Precedents for each identity should be:
Identity Precedents
A1 B2, B3
A2 B:B
B2 C3, C4
B3 n/a
C3 n/a
C4 n/a
See Also

Reference

CalcNode Class
CalcNode Members