public static FrameworkElement FindElementOfTypeUp(Visual parent, Type ty) { return SingleFindInTree(parent, new FinderMatchType(ty)); }