11 references to IsAncestorOfEx
PresentationFramework (11)
src\Framework\System\Windows\Controls\DataGrid.cs (5)
5605
if (nextFocusTarget != null && !keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5719
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5765
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5799
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5834
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
src\Framework\System\Windows\Input\KeyboardNavigation.cs (6)
2767
return DoubleUtil.GreaterThan(targetRect.Left, sourceRect.Left) || (DoubleUtil.AreClose(targetRect.Left, sourceRect.Left) &&
IsAncestorOfEx
(sourceElement, targetElement));
2769
return DoubleUtil.LessThan(targetRect.Right, sourceRect.Right) || (DoubleUtil.AreClose(targetRect.Right, sourceRect.Right) &&
IsAncestorOfEx
(sourceElement, targetElement));
2789
return DoubleUtil.GreaterThan(targetRect.Top, sourceRect.Top) || (DoubleUtil.AreClose (targetRect.Top, sourceRect.Top) &&
IsAncestorOfEx
(sourceElement, targetElement));
2791
return DoubleUtil.LessThan(targetRect.Bottom, sourceRect.Bottom) || (DoubleUtil.AreClose(targetRect.Bottom, sourceRect.Bottom) &&
IsAncestorOfEx
(sourceElement, targetElement));
2961
(considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))
2968
&& (considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))