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)
147
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()));
442
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
468
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
System\Windows\Input\MouseDevice.cs (2)
334
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, eltDO.GetType()));
584
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)
577
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)
279
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doStylusCapture.GetType()));
1194
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)
131
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, element.GetType()), nameof(element));
175
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
197
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, e.GetType()), nameof(e));
256
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, o.GetType()));
733
throw new InvalidOperationException(SR.Format(SR.
Invalid_IInputElement
, doTarget.GetType()));
System\Windows\UIElement.cs (2)
1916
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));
1953
throw new ArgumentException(SR.Format(SR.
Invalid_IInputElement
, d.GetType()));