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)
72public partial class UIElement : Visual, IInputElement, IAnimatable
System\Windows\UIElement3D.cs (1)
26public abstract partial class UIElement3D : Visual3D, IInputElement
593 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)
385internal static void RaiseFocusChangedEventHelper(IInputElement newFocus) 404internal static AutomationPeer AutomationPeerFromInputElement(IInputElement focusedElement)
System\Windows\DragEventArgs.cs (1)
79public Point GetPosition(IInputElement relativeTo)
System\Windows\Generated\UIElement.cs (3)
853CommandManager.TranslateInput((IInputElement)sender, e); 1220CommandManager.TranslateInput((IInputElement)sender, e); 1950CommandManager.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; 273private 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); 644private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e) 660private static void TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e) 677private static IInputElement GetParentScopeFocusedElement(DependencyObject childScope) 682IInputElement 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) 341private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args) 360internal bool ExecuteCore(object parameter, IInputElement target, bool userInitiated) 370private 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; 1589private 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)
54public override IInputElement Target 66internal IInputElement ForceTarget 70return (IInputElement) _forceTarget; 91public IInputElement FocusedElement 95return (IInputElement) _focus; 113public IInputElement Focus(IInputElement element) 139return (IInputElement) _focus; 278KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 295KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 348IInputElement newFocusElement = newFocus as IInputElement; 463KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 471KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus); 483AutomationPeer.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)
424internal IInputElement ManipulationContainer 558private void SetContainer(IInputElement newContainer) 700private 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)
180public override IInputElement Target 215public IInputElement DirectlyOver 227internal IInputElement RawDirectlyOver 233IInputElement rawMouseOver = (IInputElement)_rawMouseOver.Target; 247public IInputElement Captured 270public bool Capture(IInputElement element) 278public bool Capture(IInputElement element, CaptureMode captureMode) 545public Point GetPosition(IInputElement relativeTo) 945private void ChangeMouseOver(IInputElement mouseOver, int timestamp) 954IInputElement oldMouseOver = _mouseOver; 1030private void ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, int timestamp) 1039IInputElement oldMouseCapture = _mouseCapture; 1469IInputElement mouseOver = _mouseOver; // assume mouse is still over whatever it was before 1470IInputElement rawMouseOver = (_rawMouseOver != null) ? (IInputElement)_rawMouseOver.Target : null; 1549IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1571IInputElement ieTest = mouseOver; 2045internal static IInputElement GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2047IInputElement enabledHit; 2048IInputElement originalHit; 2054internal static IInputElement GlobalHitTest(Point ptClient, PresentationSource inputSource) 2062private static void GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2100internal static IInputElement LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2102IInputElement enabledHit; 2103IInputElement originalHit; 2109internal static IInputElement LocalHitTest(Point ptClient, PresentationSource inputSource) 2116private static void LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2239private IInputElement _mouseOver; 2244private 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); 503internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 508IInputElement oldCapture = _stylusCapture; 589internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 595IInputElement oldOver = _stylusOver; 1195internal 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); 669internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 685internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 700internal override Point GetPosition(IInputElement relativeTo) 895internal IInputElement FindTarget(PresentationSource inputSource, Point position) 897IInputElement stylusOver = null; 919IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 942IInputElement ieTest = stylusOver; 980internal void ChangeStylusOver(IInputElement stylusOver) 1007internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 1014IInputElement oldStylusCapture = _stylusCapture; 1066IInputElement inputElementHit = _stylusCapture; 1084IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1131internal 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)
1019IInputElement target = stylusDevice.FindTarget(stylusDevice.CriticalActiveSource, position); 1893IInputElement directlyOver = mouseDevice.DirectlyOver; 1895Point ptClient = mouseDevice.GetPosition(source.RootVisual as IInputElement); 2040internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 2045IInputElement oldCapture = _stylusCapture; 2127internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 2133IInputElement oldOver = _stylusOver; 3050internal void SelectStylusDevice(WispStylusDevice wispStylusDevice, IInputElement newOver, bool updateOver) 3727IInputElement _stylusCapture; 3728IInputElement _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); 564internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 572IInputElement oldStylusCapture = _stylusCapture; 647IInputElement inputElementHit = _stylusCapture; 665IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 927internal void ChangeStylusOver(IInputElement stylusOver) 964internal IInputElement FindTarget(PresentationSource inputSource, Point position) 966IInputElement stylusOver = null; 989IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1012IInputElement ieTest = stylusOver; 1107internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 1124internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 1153internal override Point GetPosition(IInputElement relativeTo) 1204internal Point GetRawPosition(IInputElement relativeTo) 1283private GeneralTransform GetTabletToElementTransform(PresentationSource source, IInputElement relativeTo) 1711IInputElement mouseCaptured = inputManager.PrimaryMouseDevice.Captured; 1952IInputElement _stylusOver; 1957IInputElement _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)
423_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 626_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.Current.PrimaryKeyboardDevice); 648TextComposition 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; 1139internal static TouchPointCollection GetTouchPoints(IInputElement relativeTo) 1155internal static TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo) 1169internal static void ReleaseAllCaptures(IInputElement element) 1185internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1190internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1195private static bool IsWithin(IInputElement parent, IInputElement child) 1214private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1223IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1235private static bool AreAnyTouchesCapturedOrDirectlyOver(IInputElement element, bool isCapture) 1243IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1266Point IManipulator.GetPosition(IInputElement relativeTo) 1291private IInputElement _directlyOver; 1292private 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)
2313IInputElement focusElement = (IInputElement)focusSink; 2356IInputElement focusElement = focusSink as IInputElement; 2375Keyboard.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)
1983public IInputElement InputHitTest(Point point) 1985IInputElement enabledHit; 1986IInputElement rawHit; 2008internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit) 2033internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit, out HitTestResult rawHitResult) 2047rawHit = candidate as IInputElement; 2616FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
System\Windows\UIElement3D.cs (1)
587FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
PresentationFramework (211)
MS\Internal\AppModel\OleCmdHelper.cs (6)
96IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 100target = (IInputElement)Application.Current.MainWindow; 145IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 149target = (IInputElement)Application.Current.MainWindow; 281public bool Execute(IInputElement target, object argument) 309public bool QueryEnabled(IInputElement target, object argument)
MS\Internal\Commands\CommandHelpers.cs (5)
120IInputElement target = commandSource.CommandTarget; 127target = commandSource as IInputElement; 157IInputElement target = commandSource.CommandTarget; 164target = commandSource as IInputElement; 178internal 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)
20internal class HostedElements : IEnumerator<IInputElement> 159public IInputElement Current 179IInputElement currentElement = null; 183Debug.Assert(_currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward) is IInputElement); 187Debug.Assert(_currentPosition.GetAdjacentElement(LogicalDirection.Forward) is IInputElement); 188currentElement = (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)
212internal override IInputElement InputHitTest(PTS.FSPOINT pt) 214IInputElement ie = null; 268ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FloaterParaClient.cs (3)
217internal override IInputElement InputHitTest(PTS.FSPOINT pt) 219IInputElement ie = null; 273ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FlowDocumentPage.cs (8)
264internal IInputElement InputHitTestCore(Point point) 279IInputElement ie = null; 295return (ie != null) ? 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)
575internal IInputElement InputHitTest(int urOffset) 620return 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)
440public IEnumerator<IInputElement> HostedElements 473public IInputElement InputHitTest(Point point)
System\Windows\Controls\Button.cs (1)
193private void UpdateIsDefaulted(IInputElement focus)
System\Windows\Controls\ContextMenu.cs (3)
600_weakRefToPreviousFocus = new WeakReference<IInputElement>(Keyboard.FocusedElement); 612IInputElement previousFocus; 697private WeakReference<IInputElement> _weakRefToPreviousFocus; // Keep the previously focused element before CM to open
System\Windows\Controls\DataGrid.cs (5)
5599Keyboard.Focus(nextFocusTarget as IInputElement); 5713Keyboard.Focus(nextFocusTarget as IInputElement); 5759Keyboard.Focus(nextFocusTarget as IInputElement); 5793Keyboard.Focus(nextFocusTarget as IInputElement); 5828Keyboard.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; 421IInputElement element = o as IInputElement; 577IInputElement element = owner as IInputElement; 645private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.TriggerAction triggerAction) 796private IInputElement LastMouseDirectlyOver 949IInputElement source = e.OriginalSource as IInputElement; 959private bool RaiseContextMenuOpeningEvent(IInputElement source, double x, double y,bool userInitiated) 1049IInputElement inputElement = (o is ContentElement || o is UIElement3D) ? (IInputElement)o : (IInputElement)uie; 1602IInputElement rootElement = hwndSource?.RootVisual as IInputElement; 1743private 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)
1126IInputElement capturedElement = Mouse.Captured; 3029IInputElement 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)
870IInputElement captured = null; 1365IInputElement newFocus = null; 1369newFocus = parent as IInputElement;
System\Windows\Controls\TextBlock.cs (7)
62IInputElement IContentHost.InputHitTest(Point point) 84IEnumerator<IInputElement> IContentHost.HostedElements 1652protected virtual IInputElement InputHitTestCore(Point point) 1665IInputElement ie = null; 1754TextPointer start = FindElementPosition((IInputElement)child); 1848protected 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)
700IInputElement originalFocusedElement = Keyboard.FocusedElement;
System\Windows\Controls\TreeViewItem.cs (1)
680IInputElement originalFocus = Keyboard.FocusedElement;
System\Windows\Documents\FixedPage.cs (1)
601internal 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) 611IInputElement element = (IInputElement)sender; 645IInputElement element = (IInputElement)sender; 871IInputElement element = d as IInputElement; 908private static void SetUpNavigationEventHandlers(IInputElement element) 933private static void SetUpEventHandler(IInputElement element, RoutedEvent routedEvent, Delegate handler) 974IInputElement element = (IInputElement)sender; 1015IInputElement element = (IInputElement)sender; 1060IInputElement ee = (IInputElement)sender; 1110IInputElement element = (IInputElement)sender; 1124internal 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)
5334IInputElement activeElement = FocusManager.GetFocusedElement(fe, true); 5337IInputElement oldFocus = Keyboard.FocusedElement;
System\Windows\Input\KeyboardNavigation.cs (15)
913FocusManager.SetFocusedElement(focusScope, focusTarget as IInputElement); 1046IInputElement iie = nextTab as IInputElement; 1453IInputElement previousElement = null; 1454IEnumerator<IInputElement> enumerator = ich.HostedElements; 1457IInputElement current = enumerator.Current; 1511IEnumerator<IInputElement> enumerator = ich.HostedElements; 1515IInputElement current = enumerator.Current; 1577IInputElement iie = e as IInputElement; 1626IEnumerator<IInputElement> enumerator = ich.HostedElements; 1629IInputElement current = enumerator.Current; 1693IEnumerator<IInputElement> enumerator = ich.HostedElements; 1694IInputElement last = null; 1697IInputElement current = enumerator.Current;
System\Windows\Navigation\NavigationService.cs (8)
375IInputElement elem = _bp as IInputElement; 807IInputElement iie = oldTree as IInputElement; 3528IInputElement iie = _navigatorHost as IInputElement; 3543IInputElement 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)
2094IInputElement 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)
948IInputElement inputElement = exactMatchElement as IInputElement; 1369IInputElement inputElement = element as IInputElement;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2853public IInputElement CommandTarget 2855get { return (IInputElement)GetValue(CommandTargetProperty); } 2865typeof(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)
676if (element is SW.IInputElement)