1 interface inheriting from IInputElement
PresentationFramework (1)
System\Windows\IFrameworkInputElement.cs (1)
10public interface IFrameworkInputElement : IInputElement
3 implementations of IInputElement
PresentationCore (3)
System\Windows\ContentElement.cs (1)
21public partial class ContentElement : DependencyObject, IInputElement, IAnimatable
System\Windows\UIElement.cs (1)
68public partial class UIElement : Visual, IInputElement, IAnimatable
System\Windows\UIElement3D.cs (1)
26public abstract partial class UIElement3D : Visual3D, IInputElement
587 references to IInputElement
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (2)
31private IInputElement _rootInputElement; 194_rootInputElement = _rootDependencyObject as IInputElement;
PresentationCore (352)
System\Windows\Automation\Peers\AutomationPeer.cs (2)
387internal static void RaiseFocusChangedEventHelper(IInputElement newFocus) 406internal static AutomationPeer AutomationPeerFromInputElement(IInputElement focusedElement)
System\Windows\DragEventArgs.cs (1)
79public Point GetPosition(IInputElement relativeTo)
System\Windows\Generated\UIElement.cs (3)
845CommandManager.TranslateInput((IInputElement)sender, e); 1212CommandManager.TranslateInput((IInputElement)sender, e); 1942CommandManager.TranslateInput((IInputElement)sender, e);
System\Windows\IContentHost.cs (2)
25IInputElement InputHitTest(Point point); 51IEnumerator<IInputElement> HostedElements
System\Windows\Input\AccessKeyManager.cs (28)
25public static void Register(string key, IInputElement element) 56public static void Unregister(string key, IInputElement element) 90List<IInputElement> targets = akm.GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 215IInputElement inputElementSender = sender as IInputElement; 216List<IInputElement> targets = GetTargetsForSender(inputElementSender, key); 224List<IInputElement> targets = GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 229private ProcessKeyResult ProcessKey(List<IInputElement> targets, string key, bool existsElsewhere, bool userInitiated) 334private List<IInputElement> GetTargetsForSender(IInputElement sender, string key) 342private List<IInputElement> GetTargetsForScope(object scope, string key, IInputElement sender, AccessKeyInformation senderInfo) 370List<IInputElement> possibleElements; 378List<IInputElement> finalTargets = new List<IInputElement>(1); 383IInputElement element = possibleElements[i]; 418private AccessKeyInformation GetInfoForElement(IInputElement element, string key) 440private PresentationSource GetSourceForElement(IInputElement element) 482private bool IsTargetable(IInputElement element) 583private static List<IInputElement> CopyAndPurgeDead(ArrayList elements) 590List<IInputElement> copy = new List<IInputElement>(elements.Count); 603Debug.Assert(element is IInputElement, "Element in AccessKeyManager store was not of type IInputElement"); 604copy.Add((IInputElement)element); 658IInputElement accessKeyElement = (cachedElementWeakRef != null) ? (IInputElement)cachedElementWeakRef.Target : null; 702IInputElement currentElement = (IInputElement)currentElementWeakRef.Target;
System\Windows\Input\Command\CommandDevice.cs (4)
28public override IInputElement Target 88IInputElement commandTarget = e.StagingItem.Input.OriginalSource as IInputElement; 275private IInputElement GetSourceFromDevice(InputType device)
System\Windows\Input\Command\CommandManager.cs (9)
270internal static void TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 278IInputElement target = null; 430private static bool ExecuteCommand(RoutedCommand routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs) 453IInputElement focusedElement = GetParentScopeFocusedElement(d); 488IInputElement focusedElement = GetParentScopeFocusedElement(d); 648private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e) 664private static void TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e) 681private static IInputElement GetParentScopeFocusedElement(DependencyObject childScope) 686IInputElement focusedElement = FocusManager.GetFocusedElement(parentScope);
System\Windows\Input\Command\ICommandSource.cs (1)
38IInputElement CommandTarget
System\Windows\Input\Command\InputBinding.cs (3)
109DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding)); 114public IInputElement CommandTarget 118return (IInputElement)GetValue(CommandTargetProperty);
System\Windows\Input\Command\RoutedCommand.cs (9)
118public void Execute(object parameter, IInputElement target) 140public bool CanExecute(object parameter, IInputElement target) 154internal bool CriticalCanExecute(object parameter, IInputElement target, bool trusted, out bool continueRouting) 300private static IInputElement FilterInputElement(IInputElement elem) 316private bool CanExecuteImpl(object parameter, IInputElement target, bool trusted, out bool continueRouting) 343private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args) 362internal bool ExecuteCore(object parameter, IInputElement target, bool userInitiated) 372private bool ExecuteImpl(object parameter, IInputElement target, bool userInitiated)
System\Windows\Input\DeadCharTextComposition.cs (1)
26internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice)
System\Windows\Input\DefaultTextStoreTextComposition.cs (1)
37internal DefaultTextStoreTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete) : base(inputManager, source, text, autoComplete)
System\Windows\Input\FocusChangedEventArgs.cs (6)
27public KeyboardFocusChangedEventArgs(KeyboardDevice keyboard, int timestamp, IInputElement oldFocus, IInputElement newFocus) : base(keyboard, timestamp) 42public IInputElement OldFocus 50public IInputElement NewFocus 72private IInputElement _oldFocus; 73private IInputElement _newFocus;
System\Windows\Input\FocusManager.cs (7)
87typeof(IInputElement), 117public static IInputElement GetFocusedElement(DependencyObject element) 129internal static IInputElement GetFocusedElement(DependencyObject element, bool validate) 151return (IInputElement)focusedElement; 159public static void SetFocusedElement(DependencyObject element, IInputElement value) 207IInputElement newFocusedElement = (IInputElement)e.NewValue;
System\Windows\Input\IManipulator.cs (1)
34Point GetPosition(IInputElement relativeTo);
System\Windows\Input\IMouseInputProvider.cs (1)
42int GetIntermediatePoints(IInputElement relativeTo, Point[] points);
System\Windows\Input\InputDevice.cs (1)
27public abstract IInputElement Target{get;}
System\Windows\Input\InputElement.cs (4)
16internal static bool IsValid(IInputElement e) 89internal static IInputElement GetContainingInputElement(DependencyObject o, bool onlyTraverse2D) 91IInputElement container = null; 130internal static IInputElement GetContainingInputElement(DependencyObject o)
System\Windows\Input\InputManager.cs (1)
744if(eventSource == null || !InputElement.IsValid(eventSource as IInputElement))
System\Windows\Input\InputMethod.cs (3)
1292IInputElement inputElement = (IInputElement)d; 1591private static IntPtr HwndFromInputElement(IInputElement element)
System\Windows\Input\Keyboard.cs (3)
270public static IInputElement FocusedElement 292public static IInputElement Focus(IInputElement element)
System\Windows\Input\KeyboardDevice.cs (19)
52public override IInputElement Target 64internal IInputElement ForceTarget 68return (IInputElement) _forceTarget; 89public IInputElement FocusedElement 93return (IInputElement) _focus; 111public IInputElement Focus(IInputElement element) 136return (IInputElement) _focus; 275KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus) 294KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus) 353IInputElement newFocusElement = newFocus as IInputElement; 468KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)focus) 478KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)_focus) 492AutomationPeer.RaiseFocusChangedEventHelper((IInputElement)_focus);
System\Windows\Input\Manipulation.cs (2)
139public static void SetManipulationContainer(UIElement element, IInputElement container) 160public static IInputElement GetManipulationContainer(UIElement element)
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (2)
21IInputElement manipulationContainer, 53public IInputElement ManipulationContainer
System\Windows\Input\ManipulationCompletedEventArgs.cs (2)
21IInputElement manipulationContainer, 72public IInputElement ManipulationContainer
System\Windows\Input\ManipulationDeltaEventArgs.cs (2)
21IInputElement manipulationContainer, 76public IInputElement ManipulationContainer
System\Windows\Input\ManipulationDevice.cs (2)
43public override IInputElement Target 204internal IInputElement ManipulationContainer
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (2)
24IInputElement manipulationContainer, 62public IInputElement ManipulationContainer
System\Windows\Input\ManipulationLogic.cs (3)
428internal IInputElement ManipulationContainer 562private void SetContainer(IInputElement newContainer) 704private IInputElement _currentContainer;
System\Windows\Input\ManipulationStartedEventArgs.cs (2)
21IInputElement manipulationContainer, 53public IInputElement ManipulationContainer
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
44public IInputElement ManipulationContainer
System\Windows\Input\Mouse.cs (6)
398public static IInputElement DirectlyOver 409public static IInputElement Captured 434public static bool Capture(IInputElement element) 448public static bool Capture(IInputElement element, CaptureMode captureMode) 462public static int GetIntermediatePoints(IInputElement relativeTo, Point[] points) 569public static Point GetPosition(IInputElement relativeTo)
System\Windows\Input\MouseDevice.cs (32)
178public override IInputElement Target 213public IInputElement DirectlyOver 225internal IInputElement RawDirectlyOver 231IInputElement rawMouseOver = (IInputElement)_rawMouseOver.Target; 245public IInputElement Captured 268public bool Capture(IInputElement element) 276public bool Capture(IInputElement element, CaptureMode captureMode) 540public Point GetPosition(IInputElement relativeTo) 944private void ChangeMouseOver(IInputElement mouseOver, int timestamp) 953IInputElement oldMouseOver = _mouseOver; 1029private void ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, int timestamp) 1038IInputElement oldMouseCapture = _mouseCapture; 1484IInputElement mouseOver = _mouseOver; // assume mouse is still over whatever it was before 1485IInputElement rawMouseOver = (_rawMouseOver != null) ? (IInputElement)_rawMouseOver.Target : null; 1564IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1586IInputElement ieTest = mouseOver; 2080internal static IInputElement GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2082IInputElement enabledHit; 2083IInputElement originalHit; 2089internal static IInputElement GlobalHitTest(Point ptClient, PresentationSource inputSource) 2097private static void GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2135internal static IInputElement LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2137IInputElement enabledHit; 2138IInputElement originalHit; 2144internal static IInputElement LocalHitTest(Point ptClient, PresentationSource inputSource) 2151private static void LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2274private IInputElement _mouseOver; 2279private IInputElement _mouseCapture;
System\Windows\Input\MouseEventArgs.cs (1)
67public Point GetPosition(IInputElement relativeTo)
System\Windows\Input\Stylus\Common\Stylus.cs (4)
732public static IInputElement DirectlyOver 744public static IInputElement Captured 759public static bool Capture(IInputElement element) 774public static bool Capture(IInputElement element, CaptureMode captureMode)
System\Windows\Input\Stylus\Common\StylusDevice.cs (11)
48public override IInputElement Target 85public IInputElement DirectlyOver 97public IInputElement Captured 109public bool Capture(IInputElement element, CaptureMode captureMode) 117public bool Capture(IInputElement element) 183public StylusPointCollection GetStylusPoints(IInputElement relativeTo) 194public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 214public Point GetPosition(IInputElement relativeTo) 319internal static IInputElement LocalHitTest(PresentationSource inputSource, Point pt) 324internal static IInputElement GlobalHitTest(PresentationSource inputSource, Point pt) 332internal static GeneralTransform GetElementTransform(IInputElement relativeTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (8)
83internal abstract IInputElement Target { get; } 114internal abstract IInputElement DirectlyOver { get; } 119internal abstract IInputElement Captured { get; } 129internal abstract bool Capture(IInputElement element, CaptureMode captureMode); 134internal abstract bool Capture(IInputElement element); 160internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo); 166internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo); 176internal abstract Point GetPosition(IInputElement relativeTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (3)
59public Point GetPosition(IInputElement relativeTo) 93public StylusPointCollection GetStylusPoints(IInputElement relativeTo) 103public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusLogic.cs (4)
378internal abstract void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver); 440internal abstract void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp); 738internal bool HandleFlick(int flickData, IInputElement element)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (5)
42public override TouchPoint GetTouchPoint(IInputElement relativeTo) 51private Rect GetBounds(StylusPoint stylusPoint, Point position, IInputElement relativeTo) 61IInputElement relativeTo, 93public override TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo) 118private void GetRootTransforms(IInputElement relativeTo, out GeneralTransform elementToRoot, out GeneralTransform rootToElement)
System\Windows\Input\Stylus\Common\TabletDevice.cs (1)
40public override IInputElement Target
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
92internal abstract IInputElement Target { get; }
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
48IInputElement _stylusCapture; 53IInputElement _stylusOver; 179IInputElement target = stylusDevice.FindTarget(stylusDevice.CriticalActiveSource, position); 505internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 510IInputElement oldCapture = _stylusCapture; 591internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 597IInputElement oldOver = _stylusOver; 1197internal void SelectStylusDevice(PointerStylusDevice pointerStylusDevice, IInputElement newOver, bool updateOver)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (21)
50private IInputElement _stylusCapture; 60private IInputElement _stylusOver; 168internal override IInputElement Target 365internal override IInputElement DirectlyOver 376internal override IInputElement Captured 527internal override bool Capture(IInputElement element, CaptureMode captureMode) 593internal override bool Capture(IInputElement element) 616IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 671internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 687internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 702internal override Point GetPosition(IInputElement relativeTo) 897internal IInputElement FindTarget(PresentationSource inputSource, Point position) 899IInputElement stylusOver = null; 921IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 944IInputElement ieTest = stylusOver; 982internal void ChangeStylusOver(IInputElement stylusOver) 1009internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 1016IInputElement oldStylusCapture = _stylusCapture; 1072IInputElement inputElementHit = _stylusCapture; 1090IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1137internal GeneralTransform GetTabletToElementTransform(IInputElement relativeTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (3)
357internal StylusPlugInCollection InvokeStylusPluginCollectionForMouse(RawStylusInputReport inputReport, IInputElement directlyOver, StylusPlugInCollection currentPlugInCollection) 587IInputElement directlyOver = mouseDevice.DirectlyOver; 589Point ptClient = mouseDevice.GetPosition(source.RootVisual as IInputElement);
System\Windows\Input\Stylus\Pointer\PointerTabletDevice.cs (1)
180internal override IInputElement Target
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
329internal StylusPlugInCollection InvokeStylusPluginCollectionForMouse(RawStylusInputReport inputReport, IInputElement directlyOver, StylusPlugInCollection currentPlugInCollection)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (11)
1028IInputElement target = stylusDevice.FindTarget(stylusDevice.CriticalActiveSource, position); 1906IInputElement directlyOver = mouseDevice.DirectlyOver; 1908Point ptClient = mouseDevice.GetPosition(source.RootVisual as IInputElement); 2053internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 2058IInputElement oldCapture = _stylusCapture; 2140internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 2146IInputElement oldOver = _stylusOver; 3073internal void SelectStylusDevice(WispStylusDevice wispStylusDevice, IInputElement newOver, bool updateOver) 3750IInputElement _stylusCapture; 3751IInputElement _stylusOver;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (23)
111internal override IInputElement Target 184internal override IInputElement DirectlyOver 197internal override IInputElement Captured 222internal override bool Capture(IInputElement element, CaptureMode captureMode) 293internal override bool Capture(IInputElement element) 327IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 566internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 574IInputElement oldStylusCapture = _stylusCapture; 653IInputElement inputElementHit = _stylusCapture; 671IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 933internal void ChangeStylusOver(IInputElement stylusOver) 970internal IInputElement FindTarget(PresentationSource inputSource, Point position) 972IInputElement stylusOver = null; 995IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1018IInputElement ieTest = stylusOver; 1113internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 1130internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 1159internal override Point GetPosition(IInputElement relativeTo) 1210internal Point GetRawPosition(IInputElement relativeTo) 1289private GeneralTransform GetTabletToElementTransform(PresentationSource source, IInputElement relativeTo) 1719IInputElement mouseCaptured = inputManager.PrimaryMouseDevice.Captured; 1960IInputElement _stylusOver; 1965IInputElement _stylusCapture;
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
126internal override IInputElement Target
System\Windows\Input\TextComposition.cs (5)
74public TextComposition(InputManager inputManager, IInputElement source, string resultText) : this(inputManager, source, resultText, TextCompositionAutoComplete.On) 81public TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete) : this(inputManager, source, resultText, autoComplete, InputManager.Current.PrimaryKeyboardDevice) 96internal TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) 337internal IInputElement Source 420private IInputElement _source;
System\Windows\Input\TextCompositionManager.cs (3)
429_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 638_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.Current.PrimaryKeyboardDevice); 660TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TouchDevice.cs (38)
96public sealed override IInputElement Target 129public IInputElement DirectlyOver 139public abstract TouchPoint GetTouchPoint(IInputElement relativeTo); 146public abstract TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo); 148private IInputElement CriticalHitTest(Point point, bool isSynchronize) 150IInputElement over = null; 186IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 207IInputElement ieTest = over; 251private static void EnsureValid(ref IInputElement element) 261private static IInputElement GlobalHitTest(Point pt, PresentationSource inputSource) 266private static IInputElement LocalHitTest(Point pt, PresentationSource inputSource) 281public IInputElement Captured 302public bool Capture(IInputElement element) 313public bool Capture(IInputElement element, CaptureMode captureMode) 343IInputElement oldCapture = _captured; 425private void UpdateReverseInheritedProperty(bool capture, IInputElement oldElement, IInputElement newElement) 593private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 600private void RaiseLostCapture(IInputElement oldCapture) 609private void RaiseGotCapture(IInputElement captured) 623protected virtual void OnCapture(IInputElement element, CaptureMode captureMode) 780IInputElement newDirectlyOver = null; 847private void ChangeDirectlyOver(IInputElement newDirectlyOver) 851IInputElement oldDirectlyOver = _directlyOver; 1141internal static TouchPointCollection GetTouchPoints(IInputElement relativeTo) 1157internal static TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo) 1171internal static void ReleaseAllCaptures(IInputElement element) 1187internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1192internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1197private static bool IsWithin(IInputElement parent, IInputElement child) 1216private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1225IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1237private static bool AreAnyTouchesCapturedOrDirectlyOver(IInputElement element, bool isCapture) 1245IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1268Point IManipulator.GetPosition(IInputElement relativeTo) 1293private IInputElement _directlyOver; 1294private IInputElement _captured;
System\Windows\Input\TouchEventArgs.cs (2)
30public TouchPoint GetTouchPoint(IInputElement relativeTo) 41public TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo)
System\Windows\Input\TouchFrameEventArgs.cs (2)
38public TouchPointCollection GetTouchPoints(IInputElement relativeTo) 48public TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo)
System\Windows\InterOp\HwndKeyboardInputProvider.cs (3)
353_restoreFocus = focusedDO as IInputElement; 486Keyboard.Focus(restoreFocusDO as IInputElement); 860private IInputElement _restoreFocus;
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
205int IMouseInputProvider.GetIntermediatePoints(IInputElement relativeTo, Point[] points)
System\Windows\InterOp\HwndSource.cs (5)
2321IInputElement focusElement = (IInputElement)focusSink; 2364IInputElement focusElement = focusSink as IInputElement; 2383Keyboard.PrimaryDevice.ForceTarget = focusSink as IInputElement;
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
94IInputElement inputElement = StylusDevice.LocalHitTest(_source, ptClient1);
System\Windows\PresentationSource.cs (2)
113public static void AddSourceChangedHandler(IInputElement element, SourceChangedEventHandler handler) 179public static void RemoveSourceChangedHandler(IInputElement e, SourceChangedEventHandler handler)
System\Windows\SourceChangedEventArgs.cs (6)
45IInputElement element, 46IInputElement oldParent) 67public IInputElement Element 76public IInputElement OldParent 99private IInputElement _element; 100private IInputElement _oldParent;
System\Windows\UIElement.cs (9)
1975public IInputElement InputHitTest(Point point) 1977IInputElement enabledHit; 1978IInputElement rawHit; 2000internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit) 2025internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit, out HitTestResult rawHitResult) 2039rawHit = candidate as IInputElement; 2608FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
System\Windows\UIElement3D.cs (1)
587FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
PresentationFramework (205)
MS\Internal\Commands\CommandHelpers.cs (5)
117IInputElement target = commandSource.CommandTarget; 124target = commandSource as IInputElement; 154IInputElement target = commandSource.CommandTarget; 161target = commandSource as IInputElement; 175internal static void ExecuteCommand(ICommand command, object parameter, IInputElement target)
MS\Internal\Documents\DocumentViewerHelper.cs (2)
349if (predictedFocus != null && predictedFocus is IInputElement && 352((IInputElement)predictedFocus).Focus();
MS\Internal\Documents\HostedElements.cs (6)
14internal class HostedElements : IEnumerator<IInputElement> 153public IInputElement Current 172IInputElement currentElement = null; 176Debug.Assert(_currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward) is IInputElement); 180Debug.Assert(_currentPosition.GetAdjacentElement(LogicalDirection.Forward) is IInputElement); 181currentElement = (IInputElement)_currentPosition.GetAdjacentElement(LogicalDirection.Forward);
MS\Internal\Documents\UIElementIsland.cs (4)
185IInputElement IContentHost.InputHitTest(Point point) 204IEnumerator<IInputElement> IContentHost.HostedElements 208List<IInputElement> hostedElements = new List<IInputElement>();
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
63mouse.GetPosition((IInputElement)(InkCanvas.SelectionAdorner)));
MS\Internal\PtsHost\BaseParaClient.cs (1)
112internal virtual IInputElement InputHitTest(PTS.FSPOINT pt)
MS\Internal\PtsHost\ContainerParaClient.cs (3)
84internal override IInputElement InputHitTest(PTS.FSPOINT pt) 86IInputElement ie = null; 109ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FigureParaClient.cs (3)
213internal override IInputElement InputHitTest(PTS.FSPOINT pt) 215IInputElement ie = null; 269ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FloaterParaClient.cs (3)
218internal override IInputElement InputHitTest(PTS.FSPOINT pt) 220IInputElement ie = null; 274ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FlowDocumentPage.cs (8)
264internal IInputElement InputHitTestCore(Point point) 279IInputElement ie = null; 295return ie ?? _structuralCache.FormattingOwner as IInputElement; 356internal IEnumerator<IInputElement> HostedElementsCore 921private TextPointer FindElementPosition(IInputElement e, bool isLimitedToTextView) 1183IInputElement IContentHost.InputHitTest(Point point) 1206IEnumerator<IInputElement> IContentHost.HostedElements 1210return this.HostedElementsCore as IEnumerator<IInputElement>;
MS\Internal\PtsHost\Line.cs (2)
566internal IInputElement InputHitTest(int urOffset) 611return element as IInputElement;
MS\Internal\PtsHost\PageVisual.cs (2)
108IInputElement IContentHost.InputHitTest(Point point) 134IEnumerator<IInputElement> IContentHost.HostedElements
MS\Internal\PtsHost\PtsHelper.cs (4)
368internal static IInputElement InputHitTestTrack( 376IInputElement ie = null; 401internal static IInputElement InputHitTestParaList( 407IInputElement ie = null;
MS\Internal\PtsHost\PtsPage.cs (6)
204internal IInputElement InputHitTest(Point p) 206IInputElement ie = null; 1184private IInputElement InputHitTestPage(PTS.FSPOINT pt) 1186IInputElement ie = null; 1315private IInputElement InputHitTestSection( 1319IInputElement ie = null;
MS\Internal\PtsHost\SubpageParaClient.cs (3)
150internal override IInputElement InputHitTest(PTS.FSPOINT pt) 152IInputElement ie = null; 205ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\TableParaClient.cs (2)
359internal override IInputElement InputHitTest(PTS.FSPOINT pt) 364IInputElement element = null;
MS\Internal\PtsHost\TextParaClient.cs (7)
189internal override IInputElement InputHitTest(PTS.FSPOINT pt) 191IInputElement ie = null; 236ie = Paragraph.Element as IInputElement; 3776private IInputElement InputHitTestSimpleLines( 3785IInputElement ie = null; 3956private IInputElement InputHitTestCompositeLines( 3965IInputElement ie = null;
MS\Internal\PtsHost\UIElementParaClient.cs (2)
163internal override IInputElement InputHitTest(PTS.FSPOINT pt) 167return Paragraph.Element as IInputElement;
MS\Internal\Text\ComplexLine.cs (2)
249internal override IInputElement InputHitTest(double offset) 311return element as IInputElement;
MS\Internal\Text\Line.cs (1)
273internal virtual IInputElement InputHitTest(double offset)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
444public IEnumerator<IInputElement> HostedElements 477public IInputElement InputHitTest(Point point)
System\Windows\Controls\Button.cs (1)
193private void UpdateIsDefaulted(IInputElement focus)
System\Windows\Controls\ContextMenu.cs (3)
601_weakRefToPreviousFocus = new WeakReference<IInputElement>(Keyboard.FocusedElement); 613IInputElement previousFocus; 698private WeakReference<IInputElement> _weakRefToPreviousFocus; // Keep the previously focused element before CM to open
System\Windows\Controls\DataGrid.cs (5)
5603Keyboard.Focus(nextFocusTarget as IInputElement); 5717Keyboard.Focus(nextFocusTarget as IInputElement); 5763Keyboard.Focus(nextFocusTarget as IInputElement); 5797Keyboard.Focus(nextFocusTarget as IInputElement); 5832Keyboard.Focus(nextFocusTarget as IInputElement);
System\Windows\Controls\Frame.cs (2)
210IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
System\Windows\Controls\MenuItem.cs (3)
508new FrameworkPropertyMetadata((IInputElement) null)); 514public IInputElement CommandTarget 516get { return (IInputElement)GetValue(CommandTargetProperty); }
System\Windows\Controls\PopupControlService.cs (20)
54IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 71IInputElement enabledHit; 132private void OnMouseMove(IInputElement directlyOver) 176IInputElement focusedElement = e.NewFocus; 200IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 423IInputElement element = o as IInputElement; 583IInputElement element = owner as IInputElement; 655private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.TriggerAction triggerAction) 806private IInputElement LastMouseDirectlyOver 959IInputElement source = e.OriginalSource as IInputElement; 969private bool RaiseContextMenuOpeningEvent(IInputElement source, double x, double y,bool userInitiated) 1059IInputElement inputElement = (o is ContentElement || o is UIElement3D) ? (IInputElement)o : (IInputElement)uie; 1612IInputElement rootElement = hwndSource?.RootVisual as IInputElement; 1753private WeakRefWrapper<IInputElement> _lastMouseDirectlyOver;
System\Windows\Controls\Primitives\ButtonBase.cs (4)
212typeof(IInputElement), 214new FrameworkPropertyMetadata((IInputElement)null)); 365public IInputElement CommandTarget 369return (IInputElement)GetValue(CommandTargetProperty);
System\Windows\Controls\Primitives\Popup.cs (3)
1140IInputElement capturedElement = Mouse.Captured; 3041IInputElement relativeTarget = targetVisual as IInputElement;
System\Windows\Controls\Primitives\ScrollBar.cs (8)
142Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 151Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 172_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track); 379private IInputElement CommandTarget 383IInputElement target = TemplatedParent as IInputElement; 396IInputElement target = CommandTarget; 413IInputElement target = CommandTarget;
System\Windows\Controls\ScrollViewer.cs (2)
990((IInputElement)predictedFocus).Focus(); 1003((IInputElement)predictedFocus).Focus();
System\Windows\Controls\StickyNote.cs (3)
859IInputElement captured = null; 1354IInputElement newFocus = null; 1358newFocus = parent as IInputElement;
System\Windows\Controls\TextBlock.cs (7)
60IInputElement IContentHost.InputHitTest(Point point) 82IEnumerator<IInputElement> IContentHost.HostedElements 1650protected virtual IInputElement InputHitTestCore(Point point) 1663IInputElement ie = null; 1752TextPointer start = FindElementPosition((IInputElement)child); 1846protected virtual IEnumerator<IInputElement> HostedElementsCore 3633private TextPointer FindElementPosition(IInputElement e)
System\Windows\Controls\ToolBarTray.cs (1)
524Point pointRelativeToToolBarTray = Mouse.PrimaryDevice.GetPosition((IInputElement)this);
System\Windows\Controls\TreeView.cs (1)
702IInputElement originalFocusedElement = Keyboard.FocusedElement;
System\Windows\Controls\TreeViewItem.cs (1)
680IInputElement originalFocus = Keyboard.FocusedElement;
System\Windows\Documents\FixedPage.cs (1)
603internal static Uri GetLinkUri(IInputElement element, Uri inputUri)
System\Windows\Documents\FrameworkRichTextComposition.cs (1)
26internal FrameworkRichTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, owner)
System\Windows\Documents\FrameworkTextComposition.cs (1)
33internal FrameworkTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, String.Empty, TextCompositionAutoComplete.Off)
System\Windows\Documents\Hyperlink.cs (22)
295typeof(IInputElement), 297new FrameworkPropertyMetadata((IInputElement)null)); 303public IInputElement CommandTarget 307return (IInputElement)GetValue(CommandTargetProperty); 559private static void NavigateToUri(IInputElement sourceElement, Uri targetUri, string targetWindow) 613IInputElement element = (IInputElement)sender; 647IInputElement element = (IInputElement)sender; 873IInputElement element = d as IInputElement; 910private static void SetUpNavigationEventHandlers(IInputElement element) 935private static void SetUpEventHandler(IInputElement element, RoutedEvent routedEvent, Delegate handler) 976IInputElement element = (IInputElement)sender; 1017IInputElement element = (IInputElement)sender; 1062IInputElement ee = (IInputElement)sender; 1112IInputElement element = (IInputElement)sender; 1126internal static void RaiseNavigate(IInputElement element, Uri targetUri, string targetWindow)
System\windows\Documents\TextEditorDragDrop.cs (1)
366Point pointScroller = e.GetPosition((IInputElement)scroller);
System\windows\Documents\TextEditorMouse.cs (1)
516Point pointScroller = e.GetPosition((IInputElement)scroller);
System\windows\Documents\TextEditorTyping.cs (8)
486IInputElement element = target as IInputElement; 496IInputElement element = target as IInputElement; 1351EditingCommands.IncreaseIndentation.CanExecute(null, (IInputElement)sender)) 1354EditingCommands.IncreaseIndentation.Execute(null, (IInputElement)sender); 1383EditingCommands.DecreaseIndentation.CanExecute(null, (IInputElement)sender)) 1386EditingCommands.DecreaseIndentation.Execute(null, (IInputElement)sender);
System\Windows\FrameworkElement.cs (2)
5339IInputElement activeElement = FocusManager.GetFocusedElement(fe, true); 5342IInputElement oldFocus = Keyboard.FocusedElement;
System\Windows\Input\KeyboardNavigation.cs (15)
917FocusManager.SetFocusedElement(focusScope, focusTarget as IInputElement); 1050IInputElement iie = nextTab as IInputElement; 1459IInputElement previousElement = null; 1460IEnumerator<IInputElement> enumerator = ich.HostedElements; 1463IInputElement current = enumerator.Current; 1517IEnumerator<IInputElement> enumerator = ich.HostedElements; 1521IInputElement current = enumerator.Current; 1583IInputElement iie = e as IInputElement; 1632IEnumerator<IInputElement> enumerator = ich.HostedElements; 1635IInputElement current = enumerator.Current; 1699IEnumerator<IInputElement> enumerator = ich.HostedElements; 1700IInputElement last = null; 1703IInputElement current = enumerator.Current;
System\Windows\Navigation\NavigationService.cs (8)
370IInputElement elem = _bp as IInputElement; 802IInputElement iie = oldTree as IInputElement; 3511IInputElement iie = _navigatorHost as IInputElement; 3526IInputElement iie = value as IInputElement;
System\Windows\Shell\ThumbButtonInfo.cs (5)
216typeof(IInputElement), 259IInputElement target = CommandTarget; 299IInputElement target = CommandTarget; 331public IInputElement CommandTarget 333get { return (IInputElement)GetValue(CommandTargetProperty); }
System\Windows\Shell\WindowChrome.cs (4)
113public static bool GetIsHitTestVisibleInChrome(IInputElement inputElement) 126public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible) 145public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement) 158public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)
System\Windows\Shell\WindowChromeWorker.cs (1)
493IInputElement inputElement = _window.InputHitTest(mousePosWindow);
System\Windows\Window.cs (2)
2088IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
ReachFramework (9)
Serialization\Manager\ReachSerializationUtils.cs (9)
793if (element is IInputElement) 795SerializeLinkTargetForElement((IInputElement)element, null, page); 815if (visual is IInputElement) 817SerializeLinkTargetForElement((IInputElement)visual, null, visual); 838System.Collections.Generic.IEnumerator<IInputElement> enumerator = contentHost.HostedElements; 841IInputElement element = enumerator.Current; 866if (element is IInputElement) 868SerializeLinkTargetForElement((IInputElement)element, contentHost, root); 885private void SerializeLinkTargetForElement(IInputElement element, IContentHost contentHost, Visual root)
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\KeyTipService.cs (4)
950IInputElement inputElement = exactMatchElement as IInputElement; 1373IInputElement inputElement = element as IInputElement;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2857public IInputElement CommandTarget 2859get { return (IInputElement)GetValue(CommandTargetProperty); } 2869typeof(IInputElement),
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (4)
375public IInputElement CommandTarget 377get { return (IInputElement)GetValue(CommandTargetProperty); } 389typeof(IInputElement), 391new FrameworkPropertyMetadata((IInputElement)null));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
124public IInputElement CommandTarget 126get { return (IInputElement)GetValue(CommandTargetProperty); } 136typeof(IInputElement),
Microsoft\Windows\Input\CommandHelpers.cs (4)
30IInputElement target = commandSource.CommandTarget; 34target = commandSource as IInputElement; 92IInputElement target = commandSource.CommandTarget; 96target = commandSource as IInputElement;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
679if (element is SW.IInputElement)