30 references to Invalid_IInputElement
PresentationCore (30)
System\Windows\Input\Command\RoutedCommand.cs (2)
122
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, target.GetType()));
158
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, target.GetType()));
System\Windows\Input\FocusChangedEventArgs.cs (2)
29
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldFocus.GetType()));
32
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, newFocus.GetType()));
System\Windows\Input\KeyboardDevice.cs (3)
120
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()));
406
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
432
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
System\Windows\Input\MouseDevice.cs (2)
299
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, eltDO.GetType()));
546
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, relativeTo.GetType()));
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
535
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldCapture.GetType()));
561
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
626
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldOver.GetType()));
655
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusOver.GetType()));
791
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
552
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doStylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
2087
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldCapture.GetType()));
2116
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
2175
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldOver.GetType()));
2204
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusOver.GetType()));
2444
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
245
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doStylusCapture.GetType()));
1162
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, relativeTo.GetType()));
System\Windows\Input\TouchDevice.cs (1)
331
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()), nameof(element));
System\Windows\PresentationSource.cs (5)
119
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()), nameof(element));
163
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
185
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, e.GetType()), nameof(e));
244
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
699
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doTarget.GetType()));
System\Windows\UIElement.cs (2)
1901
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));
1937
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));