public static List <DependencyObject> ByType <T>(DependencyObject container)
        {
            ChildrenFinder childrenFinder = new ChildrenFinder();

            childrenFinder.FindByType <T>(container);
            return(childrenFinder.Children);
        }
        public static List <DependencyObject> All(DependencyObject container)
        {
            ChildrenFinder childrenFinder = new ChildrenFinder();

            childrenFinder.All(container);
            return(childrenFinder.Children);
        }