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