16 references to IsValid
PresentationCore (16)
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (3)
149
if ((target != null) && !InputElement.
IsValid
(target))
194
if ((target != null) && !InputElement.
IsValid
(target))
356
if ((elem != null) && InputElement.
IsValid
(elem))
Core\CSharp\System\Windows\Input\FocusChangedEventArgs.cs (2)
31
if (oldFocus != null && !InputElement.
IsValid
(oldFocus))
34
if (newFocus != null && !InputElement.
IsValid
(newFocus))
Core\CSharp\System\Windows\Input\InputManager.cs (1)
955
if(eventSource == null || !InputElement.
IsValid
(eventSource as IInputElement))
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
163
if(!InputElement.
IsValid
(element))
Core\CSharp\System\Windows\Input\MouseDevice.cs (6)
364
if (eltDO != null && !InputElement.
IsValid
(element))
633
if (relativeTo != null && !InputElement.
IsValid
(relativeTo))
1621
if (!InputElement.
IsValid
(mouseOver))
1623
if ((rawMouseOver != null) && !InputElement.
IsValid
(rawMouseOver))
1669
if (mouseOver != null && !InputElement.
IsValid
(mouseOver) )
1738
else if (!InputElement.
IsValid
(rawMouseOver))
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
306
if ((element != null) && !InputElement.
IsValid
(element))
Core\CSharp\System\Windows\PresentationSource.cs (2)
165
if (!InputElement.
IsValid
(element))
231
if (!InputElement.
IsValid
(e))