BaseWPFHelpers.Helpers.FindElementOfTypeUp C# (CSharp) 메소드

FindElementOfTypeUp() 공개 정적인 메소드

Simple form call that returns the first element of a given type up in the visual tree
public static FindElementOfTypeUp ( Visual parent, Type ty ) : FrameworkElement
parent Visual
ty System.Type
리턴 System.Windows.FrameworkElement
        public static FrameworkElement FindElementOfTypeUp(Visual parent, Type ty)
        {
            return SingleFindInTree(parent, new FinderMatchType(ty));
        }