public static DependencyObject GetParent(DependencyObject element) { return(TreeHelper.GetParent(element, true)); }
public static bool IsDescendantOf(DependencyObject element, DependencyObject parent) { return(TreeHelper.IsDescendantOf(element, parent, true)); }
public static T FindParent <T>(DependencyObject startingObject, bool checkStartingObject) where T : DependencyObject { return(TreeHelper.FindParent <T>(startingObject, checkStartingObject, null)); }
public static T FindChild <T>(DependencyObject parent) where T : DependencyObject { return(TreeHelper.FindChild <T>(parent, null)); }