24 references to IsValid
PresentationCore (24)
System\Windows\Input\Command\RoutedCommand.cs (3)
132
if ((target != null) && !InputElement.
IsValid
(target))
168
if ((target != null) && !InputElement.
IsValid
(target))
314
if ((elem != null) && InputElement.
IsValid
(elem))
System\Windows\Input\FocusChangedEventArgs.cs (2)
34
if (oldFocus != null && !InputElement.
IsValid
(oldFocus))
37
if (newFocus != null && !InputElement.
IsValid
(newFocus))
System\Windows\Input\InputManager.cs (1)
757
if(eventSource == null || !InputElement.
IsValid
(eventSource as IInputElement))
System\Windows\Input\KeyboardDevice.cs (1)
144
if(!InputElement.
IsValid
(element))
System\Windows\Input\MouseDevice.cs (6)
332
if (eltDO != null && !InputElement.
IsValid
(element))
582
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
1539
if (!InputElement.
IsValid
(mouseOver))
1543
if ((rawMouseOver != null) && !InputElement.
IsValid
(rawMouseOver))
1591
if (mouseOver != null && !InputElement.
IsValid
(mouseOver) )
1660
else if (!InputElement.
IsValid
(rawMouseOver))
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
575
if (doStylusCapture != null && !InputElement.
IsValid
(element))
730
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
933
if (!InputElement.
IsValid
(stylusOver))
955
if (stylusOver != null && !InputElement.
IsValid
(stylusOver))
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
277
if (doStylusCapture != null && !InputElement.
IsValid
(element))
1011
if (!InputElement.
IsValid
(stylusOver))
1034
if (stylusOver != null && !InputElement.
IsValid
(stylusOver))
1192
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
System\Windows\Input\TouchDevice.cs (1)
267
if ((element != null) && !InputElement.
IsValid
(element))
System\Windows\PresentationSource.cs (2)
129
if (!InputElement.
IsValid
(element))
195
if (!InputElement.
IsValid
(e))