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


In This Topic
    Dependents Property
    In This Topic
    Gets or sets the dependents nodes which indicates what nodes are affected by value of current node.
    Syntax
    'Declaration
     
    Public Property Dependents As Dictionary(Of CalcNode,CalcNode)
    'Usage
     
    Dim instance As CalcNode
    Dim value As Dictionary(Of CalcNode,CalcNode)
     
    instance.Dependents = value
     
    value = instance.Dependents
    public Dictionary<CalcNode,CalcNode> Dependents {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 Dependents for each identity would be:
    Identity Dependents
    A1 n/a
    A2 n/a
    B2 A1, A2
    B3 A1, A2
    C3 B2
    C4 B2
    See Also