public virtual T FindProximateParentTypedUIElement <T>() where T : class, IUIElement { IProximateParentTypedUIECalculator <T> calculator = new ProximateParentTypedUIECalculator <T>(this); return(calculator.Calculate()); }
protected T FindProximateParentTypedUIElement <T>() where T : class, IUIElement { IProximateParentTypedUIECalculator <T> calculator = new ProximateParentTypedUIECalculator <T>(this.GetUIElement()); return(calculator.Calculate()); }