Ejemplo n.º 1
0
        public virtual T FindProximateParentTypedUIElement <T>() where T : class, IUIElement
        {
            IProximateParentTypedUIECalculator <T> calculator = new ProximateParentTypedUIECalculator <T>(this);

            return(calculator.Calculate());
        }
Ejemplo n.º 2
0
        protected T FindProximateParentTypedUIElement <T>() where T : class, IUIElement
        {
            IProximateParentTypedUIECalculator <T> calculator = new ProximateParentTypedUIECalculator <T>(this.GetUIElement());

            return(calculator.Calculate());
        }