BaseWPFHelpers.Helpers.FindInTree C# (CSharp) Method

FindInTree() public static method

Walker that looks both UP and down in the visual tree for any matching elements, typically used with Type
public static FindInTree ( Visual parent, IFinderMatchVisualHelper helper ) : List
parent Visual Start point in the tree to search
helper IFinderMatchVisualHelper Match Helper to use
return List
        public static List<FrameworkElement> FindInTree(Visual parent, IFinderMatchVisualHelper helper)
        {
            List<FrameworkElement> lst = new List<FrameworkElement>();

            FindUpInTree(lst, parent, null, helper);

            return lst;
        }