eDriven Framework API
GetParentChain Method (component, reverse)
Namespaces ► eDriven.Gui.Util ► ComponentUtil ► GetParentChain(DisplayListMember, Boolean)
eDriven Framework API
Gets a parent chain Example: If out component is in a chain Stage-A-B-C-Component, this method returns the list of: Stage, A, B, C.
Declaration Syntax

C# | Visual Basic | Visual C++

    public static List<DisplayListMember> GetParentChain(
    	DisplayListMember component,
    	bool reverse
    )

    Public Shared Function GetParentChain ( _
    	component As DisplayListMember, _
    	reverse As Boolean _
    ) As List(Of DisplayListMember)

    public:
    static List<DisplayListMember^>^ GetParentChain(
    	DisplayListMember^ component,
    	bool reverse
    )

Parameters

component (DisplayListMember)
  Compo

reverse (Boolean)
  Reverse the chain

Return Value

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)