24 references to IsValid
PresentationCore (24)
System\Windows\Input\Command\RoutedCommand.cs (3)
121
if ((target != null) && !InputElement.
IsValid
(target))
157
if ((target != null) && !InputElement.
IsValid
(target))
303
if ((elem != null) && InputElement.
IsValid
(elem))
System\Windows\Input\FocusChangedEventArgs.cs (2)
29
if (oldFocus != null && !InputElement.
IsValid
(oldFocus))
32
if (newFocus != null && !InputElement.
IsValid
(newFocus))
System\Windows\Input\InputManager.cs (1)
744
if(eventSource == null || !InputElement.
IsValid
(eventSource as IInputElement))
System\Windows\Input\KeyboardDevice.cs (1)
119
if(!InputElement.
IsValid
(element))
System\Windows\Input\MouseDevice.cs (6)
298
if (eltDO != null && !InputElement.
IsValid
(element))
545
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
1519
if (!InputElement.
IsValid
(mouseOver))
1523
if ((rawMouseOver != null) && !InputElement.
IsValid
(rawMouseOver))
1571
if (mouseOver != null && !InputElement.
IsValid
(mouseOver) )
1640
else if (!InputElement.
IsValid
(rawMouseOver))
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
551
if (doStylusCapture != null && !InputElement.
IsValid
(element))
707
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
910
if (!InputElement.
IsValid
(stylusOver))
932
if (stylusOver != null && !InputElement.
IsValid
(stylusOver))
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
244
if (doStylusCapture != null && !InputElement.
IsValid
(element))
980
if (!InputElement.
IsValid
(stylusOver))
1003
if (stylusOver != null && !InputElement.
IsValid
(stylusOver))
1161
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
System\Windows\Input\TouchDevice.cs (1)
255
if ((element != null) && !InputElement.
IsValid
(element))
System\Windows\PresentationSource.cs (2)
118
if (!InputElement.
IsValid
(element))
184
if (!InputElement.
IsValid
(e))