11 references to IsAncestorOfEx
PresentationFramework (11)
System\Windows\Controls\DataGrid.cs (5)
5600
if (nextFocusTarget != null && !keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5714
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5760
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5794
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5829
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
System\Windows\Input\KeyboardNavigation.cs (6)
2680
return DoubleUtil.GreaterThan(targetRect.Left, sourceRect.Left) || (DoubleUtil.AreClose(targetRect.Left, sourceRect.Left) &&
IsAncestorOfEx
(sourceElement, targetElement));
2682
return DoubleUtil.LessThan(targetRect.Right, sourceRect.Right) || (DoubleUtil.AreClose(targetRect.Right, sourceRect.Right) &&
IsAncestorOfEx
(sourceElement, targetElement));
2701
return DoubleUtil.GreaterThan(targetRect.Top, sourceRect.Top) || (DoubleUtil.AreClose (targetRect.Top, sourceRect.Top) &&
IsAncestorOfEx
(sourceElement, targetElement));
2703
return DoubleUtil.LessThan(targetRect.Bottom, sourceRect.Bottom) || (DoubleUtil.AreClose(targetRect.Bottom, sourceRect.Bottom) &&
IsAncestorOfEx
(sourceElement, targetElement));
2872
(considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))
2879
&& (considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))