Spread WPF 17
GrapeCity.CalcEngine Namespace / CalcNode Class / Precedents Property


In This Topic
    Precedents Property
    In This Topic
    Gets or sets the precedents nodes which indicates what nodes affect the value of the current node.
    Syntax
    'Declaration
     
    Public Property Precedents As List(Of CalcNode)
    'Usage
     
    Dim instance As CalcNode
    Dim value As List(Of CalcNode)
     
    instance.Precedents = value
     
    value = instance.Precedents
    public 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