11 references to IsAncestorOfEx
PresentationFramework (11)
System\Windows\Controls\DataGrid.cs (5)
5597
if (nextFocusTarget != null && !keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5711
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5757
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5791
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
5826
if (nextFocusTarget != null && keyboardNavigation.
IsAncestorOfEx
(this, nextFocusTarget))
System\Windows\Input\KeyboardNavigation.cs (6)
2670
return DoubleUtil.GreaterThan(targetRect.Left, sourceRect.Left) || (DoubleUtil.AreClose(targetRect.Left, sourceRect.Left) &&
IsAncestorOfEx
(sourceElement, targetElement));
2672
return DoubleUtil.LessThan(targetRect.Right, sourceRect.Right) || (DoubleUtil.AreClose(targetRect.Right, sourceRect.Right) &&
IsAncestorOfEx
(sourceElement, targetElement));
2691
return DoubleUtil.GreaterThan(targetRect.Top, sourceRect.Top) || (DoubleUtil.AreClose (targetRect.Top, sourceRect.Top) &&
IsAncestorOfEx
(sourceElement, targetElement));
2693
return DoubleUtil.LessThan(targetRect.Bottom, sourceRect.Bottom) || (DoubleUtil.AreClose(targetRect.Bottom, sourceRect.Bottom) &&
IsAncestorOfEx
(sourceElement, targetElement));
2862
(considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))
2869
&& (considerDescendants || !
IsAncestorOfEx
(sourceElement, currElement)))