30 references to Invalid_IInputElement
PresentationCore (30)
System\Windows\Input\Command\RoutedCommand.cs (2)
134
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, target.GetType()));
170
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, target.GetType()));
System\Windows\Input\FocusChangedEventArgs.cs (2)
35
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldFocus.GetType()));
38
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, newFocus.GetType()));
System\Windows\Input\KeyboardDevice.cs (3)
133
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()));
411
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
437
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
System\Windows\Input\MouseDevice.cs (2)
311
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, eltDO.GetType()));
561
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, relativeTo.GetType()));
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
551
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldCapture.GetType()));
577
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
642
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldOver.GetType()));
671
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusOver.GetType()));
807
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
561
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doStylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
2084
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldCapture.GetType()));
2113
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
2172
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, oldOver.GetType()));
2201
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusOver.GetType()));
2441
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
249
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doStylusCapture.GetType()));
1163
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, relativeTo.GetType()));
System\Windows\Input\TouchDevice.cs (1)
344
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()), "element");
System\Windows\PresentationSource.cs (5)
130
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()), nameof(element));
174
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
196
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, e.GetType()), nameof(e));
255
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
728
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doTarget.GetType()));
System\Windows\UIElement.cs (2)
1915
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));
1951
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));