30 references to Invalid_IInputElement
PresentationCore (30)
System\Windows\Input\Command\RoutedCommand.cs (2)
134throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, target.GetType())); 170throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, target.GetType()));
System\Windows\Input\FocusChangedEventArgs.cs (2)
35throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldFocus.GetType())); 38throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, newFocus.GetType()));
System\Windows\Input\KeyboardDevice.cs (3)
147throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, element.GetType())); 442throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 468throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType()));
System\Windows\Input\MouseDevice.cs (2)
334throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, eltDO.GetType())); 584throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, relativeTo.GetType()));
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
551throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldCapture.GetType())); 577throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType())); 642throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldOver.GetType())); 671throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusOver.GetType())); 807throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
577throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doStylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
2084throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldCapture.GetType())); 2113throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType())); 2172throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldOver.GetType())); 2201throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusOver.GetType())); 2441throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
279throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doStylusCapture.GetType())); 1194throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, relativeTo.GetType()));
System\Windows\Input\TouchDevice.cs (1)
344throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, element.GetType()), "element");
System\Windows\PresentationSource.cs (5)
131throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, element.GetType()), nameof(element)); 175throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 197throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, e.GetType()), nameof(e)); 256throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 733throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doTarget.GetType()));
System\Windows\UIElement.cs (2)
1916throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, d.GetType())); 1953throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, d.GetType()));