BaseWPFHelpers.Helpers.FindVisualElementUp C# (CSharp) Method

FindVisualElementUp() public static method

Helper to find the given named element up in the visual tree
public static FindVisualElementUp ( Visual parent, String ElementName ) : FrameworkElement
parent Visual
ElementName String
return System.Windows.FrameworkElement
        public static FrameworkElement FindVisualElementUp(Visual parent, String ElementName)
        {
            return SingleFindInTree(parent, new FinderMatchName(ElementName));
        }