1 interface inheriting from IInputElement
PresentationFramework (1)
System\Windows\IFrameworkInputElement.cs (1)
14public interface IFrameworkInputElement : IInputElement
3 implementations of IInputElement
PresentationCore (3)
System\Windows\ContentElement.cs (1)
32public partial class ContentElement : DependencyObject, IInputElement, IAnimatable
System\Windows\UIElement.cs (1)
77public partial class UIElement : Visual, IInputElement, IAnimatable
System\Windows\UIElement3D.cs (1)
41public 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)
398internal static void RaiseFocusChangedEventHelper(IInputElement newFocus) 417internal static AutomationPeer AutomationPeerFromInputElement(IInputElement focusedElement)
System\Windows\DragEventArgs.cs (1)
92public Point GetPosition(IInputElement relativeTo)
System\Windows\Generated\UIElement.cs (3)
857CommandManager.TranslateInput((IInputElement)sender, e); 1224CommandManager.TranslateInput((IInputElement)sender, e); 1954CommandManager.TranslateInput((IInputElement)sender, e);
System\Windows\IContentHost.cs (2)
28IInputElement InputHitTest(Point point); 54IEnumerator<IInputElement> HostedElements
System\Windows\Input\AccessKeyManager.cs (28)
37public static void Register(string key, IInputElement element) 68public static void Unregister(string key, IInputElement element) 102List<IInputElement> targets = akm.GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 227IInputElement inputElementSender = sender as IInputElement; 228List<IInputElement> targets = GetTargetsForSender(inputElementSender, key); 236List<IInputElement> targets = GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 241private ProcessKeyResult ProcessKey(List<IInputElement> targets, string key, bool existsElsewhere, bool userInitiated) 346private List<IInputElement> GetTargetsForSender(IInputElement sender, string key) 354private List<IInputElement> GetTargetsForScope(object scope, string key, IInputElement sender, AccessKeyInformation senderInfo) 382List<IInputElement> possibleElements; 390List<IInputElement> finalTargets = new List<IInputElement>(1); 395IInputElement element = possibleElements[i]; 430private AccessKeyInformation GetInfoForElement(IInputElement element, string key) 452private PresentationSource GetSourceForElement(IInputElement element) 494private bool IsTargetable(IInputElement element) 595private static List<IInputElement> CopyAndPurgeDead(ArrayList elements) 602List<IInputElement> copy = new List<IInputElement>(elements.Count); 615Debug.Assert(element is IInputElement, "Element in AccessKeyManager store was not of type IInputElement"); 616copy.Add((IInputElement)element); 670IInputElement accessKeyElement = (cachedElementWeakRef != null) ? (IInputElement)cachedElementWeakRef.Target : null; 714IInputElement currentElement = (IInputElement)currentElementWeakRef.Target;
System\Windows\Input\Command\CommandDevice.cs (4)
35public override IInputElement Target 95IInputElement commandTarget = e.StagingItem.Input.OriginalSource as IInputElement; 280private IInputElement GetSourceFromDevice(InputType device)
System\Windows\Input\Command\CommandManager.cs (9)
281internal static void TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 289IInputElement target = null; 441private static bool ExecuteCommand(RoutedCommand routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs) 464IInputElement focusedElement = GetParentScopeFocusedElement(d); 499IInputElement focusedElement = GetParentScopeFocusedElement(d); 655private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e) 671private static void TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e) 688private static IInputElement GetParentScopeFocusedElement(DependencyObject childScope) 693IInputElement focusedElement = FocusManager.GetFocusedElement(parentScope);
System\Windows\Input\Command\ICommandSource.cs (1)
41IInputElement CommandTarget
System\Windows\Input\Command\InputBinding.cs (3)
113DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding)); 118public IInputElement CommandTarget 122return (IInputElement)GetValue(CommandTargetProperty);
System\Windows\Input\Command\RoutedCommand.cs (9)
129public void Execute(object parameter, IInputElement target) 151public bool CanExecute(object parameter, IInputElement target) 165internal bool CriticalCanExecute(object parameter, IInputElement target, bool trusted, out bool continueRouting) 311private static IInputElement FilterInputElement(IInputElement elem) 327private bool CanExecuteImpl(object parameter, IInputElement target, bool trusted, out bool continueRouting) 352private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args) 371internal bool ExecuteCore(object parameter, IInputElement target, bool userInitiated) 381private bool ExecuteImpl(object parameter, IInputElement target, bool userInitiated)
System\Windows\Input\DeadCharTextComposition.cs (1)
35internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice)
System\Windows\Input\DefaultTextStoreTextComposition.cs (1)
42internal DefaultTextStoreTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete) : base(inputManager, source, text, autoComplete)
System\Windows\Input\FocusChangedEventArgs.cs (6)
32public KeyboardFocusChangedEventArgs(KeyboardDevice keyboard, int timestamp, IInputElement oldFocus, IInputElement newFocus) : base(keyboard, timestamp) 47public IInputElement OldFocus 55public IInputElement NewFocus 77private IInputElement _oldFocus; 78private IInputElement _newFocus;
System\Windows\Input\FocusManager.cs (7)
97typeof(IInputElement), 127public static IInputElement GetFocusedElement(DependencyObject element) 139internal static IInputElement GetFocusedElement(DependencyObject element, bool validate) 161return (IInputElement)focusedElement; 169public static void SetFocusedElement(DependencyObject element, IInputElement value) 217IInputElement newFocusedElement = (IInputElement)e.NewValue;
System\Windows\Input\IManipulator.cs (1)
38Point GetPosition(IInputElement relativeTo);
System\Windows\Input\IMouseInputProvider.cs (1)
46int GetIntermediatePoints(IInputElement relativeTo, Point[] points);
System\Windows\Input\InputDevice.cs (1)
29public abstract IInputElement Target{get;}
System\Windows\Input\InputElement.cs (4)
20internal static bool IsValid(IInputElement e) 93internal static IInputElement GetContainingInputElement(DependencyObject o, bool onlyTraverse2D) 95IInputElement container = null; 134internal static IInputElement GetContainingInputElement(DependencyObject o)
System\Windows\Input\InputManager.cs (1)
752if(eventSource == null || !InputElement.IsValid(eventSource as IInputElement))
System\Windows\Input\InputMethod.cs (3)
1306IInputElement inputElement = (IInputElement)d; 1603private static IntPtr HwndFromInputElement(IInputElement element)
System\Windows\Input\Keyboard.cs (3)
277public static IInputElement FocusedElement 299public static IInputElement Focus(IInputElement element)
System\Windows\Input\KeyboardDevice.cs (19)
63public override IInputElement Target 75internal IInputElement ForceTarget 79return (IInputElement) _forceTarget; 100public IInputElement FocusedElement 104return (IInputElement) _focus; 122public IInputElement Focus(IInputElement element) 148return (IInputElement) _focus; 287KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 304KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 357IInputElement newFocusElement = newFocus as IInputElement; 472KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 480KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus); 492AutomationPeer.RaiseFocusChangedEventHelper((IInputElement)_focus);
System\Windows\Input\Manipulation.cs (2)
142public static void SetManipulationContainer(UIElement element, IInputElement container) 163public static IInputElement GetManipulationContainer(UIElement element)
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (2)
28IInputElement manipulationContainer, 60public IInputElement ManipulationContainer
System\Windows\Input\ManipulationCompletedEventArgs.cs (2)
28IInputElement manipulationContainer, 79public IInputElement ManipulationContainer
System\Windows\Input\ManipulationDeltaEventArgs.cs (2)
28IInputElement manipulationContainer, 83public IInputElement ManipulationContainer
System\Windows\Input\ManipulationDevice.cs (2)
52public override IInputElement Target 213internal IInputElement ManipulationContainer
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (2)
31IInputElement manipulationContainer, 69public IInputElement ManipulationContainer
System\Windows\Input\ManipulationLogic.cs (3)
431internal IInputElement ManipulationContainer 565private void SetContainer(IInputElement newContainer) 707private IInputElement _currentContainer;
System\Windows\Input\ManipulationStartedEventArgs.cs (2)
28IInputElement manipulationContainer, 60public IInputElement ManipulationContainer
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
50public IInputElement ManipulationContainer
System\Windows\Input\Mouse.cs (6)
406public static IInputElement DirectlyOver 417public static IInputElement Captured 442public static bool Capture(IInputElement element) 456public static bool Capture(IInputElement element, CaptureMode captureMode) 470public static int GetIntermediatePoints(IInputElement relativeTo, Point[] points) 577public static Point GetPosition(IInputElement relativeTo)
System\Windows\Input\MouseDevice.cs (32)
189public override IInputElement Target 224public IInputElement DirectlyOver 236internal IInputElement RawDirectlyOver 242IInputElement rawMouseOver = (IInputElement)_rawMouseOver.Target; 256public IInputElement Captured 279public bool Capture(IInputElement element) 287public bool Capture(IInputElement element, CaptureMode captureMode) 554public Point GetPosition(IInputElement relativeTo) 954private void ChangeMouseOver(IInputElement mouseOver, int timestamp) 963IInputElement oldMouseOver = _mouseOver; 1039private void ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, int timestamp) 1048IInputElement oldMouseCapture = _mouseCapture; 1478IInputElement mouseOver = _mouseOver; // assume mouse is still over whatever it was before 1479IInputElement rawMouseOver = (_rawMouseOver != null) ? (IInputElement)_rawMouseOver.Target : null; 1558IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1580IInputElement ieTest = mouseOver; 2054internal static IInputElement GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2056IInputElement enabledHit; 2057IInputElement originalHit; 2063internal static IInputElement GlobalHitTest(Point ptClient, PresentationSource inputSource) 2071private static void GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2109internal static IInputElement LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2111IInputElement enabledHit; 2112IInputElement originalHit; 2118internal static IInputElement LocalHitTest(Point ptClient, PresentationSource inputSource) 2125private static void LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2248private IInputElement _mouseOver; 2253private IInputElement _mouseCapture;
System\Windows\Input\MouseEventArgs.cs (1)
71public Point GetPosition(IInputElement relativeTo)
System\Windows\Input\Stylus\Common\Stylus.cs (4)
737public static IInputElement DirectlyOver 749public static IInputElement Captured 764public static bool Capture(IInputElement element) 779public static bool Capture(IInputElement element, CaptureMode captureMode)
System\Windows\Input\Stylus\Common\StylusDevice.cs (11)
62public override IInputElement Target 99public IInputElement DirectlyOver 111public IInputElement Captured 123public bool Capture(IInputElement element, CaptureMode captureMode) 131public bool Capture(IInputElement element) 197public StylusPointCollection GetStylusPoints(IInputElement relativeTo) 208public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 228public Point GetPosition(IInputElement relativeTo) 333internal static IInputElement LocalHitTest(PresentationSource inputSource, Point pt) 338internal static IInputElement GlobalHitTest(PresentationSource inputSource, Point pt) 346internal static GeneralTransform GetElementTransform(IInputElement relativeTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (8)
97internal abstract IInputElement Target { get; } 128internal abstract IInputElement DirectlyOver { get; } 133internal abstract IInputElement Captured { get; } 143internal abstract bool Capture(IInputElement element, CaptureMode captureMode); 148internal abstract bool Capture(IInputElement element); 174internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo); 180internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo); 190internal abstract Point GetPosition(IInputElement relativeTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (3)
63public Point GetPosition(IInputElement relativeTo) 97public StylusPointCollection GetStylusPoints(IInputElement relativeTo) 107public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusLogic.cs (4)
388internal abstract void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver); 450internal abstract void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp); 748internal bool HandleFlick(int flickData, IInputElement element)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (5)
44public override TouchPoint GetTouchPoint(IInputElement relativeTo) 53private Rect GetBounds(StylusPoint stylusPoint, Point position, IInputElement relativeTo) 63IInputElement relativeTo, 95public override TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo) 120private void GetRootTransforms(IInputElement relativeTo, out GeneralTransform elementToRoot, out GeneralTransform rootToElement)
System\Windows\Input\Stylus\Common\TabletDevice.cs (1)
49public override IInputElement Target
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
99internal abstract IInputElement Target { get; }
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
65IInputElement _stylusCapture; 70IInputElement _stylusOver; 196IInputElement target = stylusDevice.FindTarget(stylusDevice.CriticalActiveSource, position); 520internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 525IInputElement oldCapture = _stylusCapture; 606internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 612IInputElement oldOver = _stylusOver; 1212internal void SelectStylusDevice(PointerStylusDevice pointerStylusDevice, IInputElement newOver, bool updateOver)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (21)
58private IInputElement _stylusCapture; 68private IInputElement _stylusOver; 176internal override IInputElement Target 373internal override IInputElement DirectlyOver 384internal override IInputElement Captured 535internal override bool Capture(IInputElement element, CaptureMode captureMode) 601internal override bool Capture(IInputElement element) 624IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 677internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 693internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 708internal override Point GetPosition(IInputElement relativeTo) 903internal IInputElement FindTarget(PresentationSource inputSource, Point position) 905IInputElement stylusOver = null; 927IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 950IInputElement ieTest = stylusOver; 988internal void ChangeStylusOver(IInputElement stylusOver) 1015internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 1022IInputElement oldStylusCapture = _stylusCapture; 1074IInputElement inputElementHit = _stylusCapture; 1092IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1139internal GeneralTransform GetTabletToElementTransform(IInputElement relativeTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (3)
369internal StylusPlugInCollection InvokeStylusPluginCollectionForMouse(RawStylusInputReport inputReport, IInputElement directlyOver, StylusPlugInCollection currentPlugInCollection) 599IInputElement directlyOver = mouseDevice.DirectlyOver; 601Point ptClient = mouseDevice.GetPosition(source.RootVisual as IInputElement);
System\Windows\Input\Stylus\Pointer\PointerTabletDevice.cs (1)
184internal override IInputElement Target
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
351internal StylusPlugInCollection InvokeStylusPluginCollectionForMouse(RawStylusInputReport inputReport, IInputElement directlyOver, StylusPlugInCollection currentPlugInCollection)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (11)
1028IInputElement target = stylusDevice.FindTarget(stylusDevice.CriticalActiveSource, position); 1902IInputElement directlyOver = mouseDevice.DirectlyOver; 1904Point ptClient = mouseDevice.GetPosition(source.RootVisual as IInputElement); 2049internal override void UpdateStylusCapture(StylusDeviceBase stylusDevice, IInputElement oldStylusDeviceCapture, IInputElement newStylusDeviceCapture, int timestamp) 2054IInputElement oldCapture = _stylusCapture; 2136internal override void UpdateOverProperty(StylusDeviceBase stylusDevice, IInputElement newOver) 2142IInputElement oldOver = _stylusOver; 3059internal void SelectStylusDevice(WispStylusDevice wispStylusDevice, IInputElement newOver, bool updateOver) 3736IInputElement _stylusCapture; 3737IInputElement _stylusOver;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (23)
114internal override IInputElement Target 187internal override IInputElement DirectlyOver 200internal override IInputElement Captured 225internal override bool Capture(IInputElement element, CaptureMode captureMode) 296internal override bool Capture(IInputElement element) 330IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 567internal void ChangeStylusCapture(IInputElement stylusCapture, CaptureMode captureMode, int timestamp) 575IInputElement oldStylusCapture = _stylusCapture; 650IInputElement inputElementHit = _stylusCapture; 668IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 930internal void ChangeStylusOver(IInputElement stylusOver) 967internal IInputElement FindTarget(PresentationSource inputSource, Point position) 969IInputElement stylusOver = null; 992IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1015IInputElement ieTest = stylusOver; 1110internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo) 1127internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) 1156internal override Point GetPosition(IInputElement relativeTo) 1207internal Point GetRawPosition(IInputElement relativeTo) 1286private GeneralTransform GetTabletToElementTransform(PresentationSource source, IInputElement relativeTo) 1714IInputElement mouseCaptured = inputManager.PrimaryMouseDevice.Captured; 1955IInputElement _stylusOver; 1960IInputElement _stylusCapture;
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
135internal override IInputElement Target
System\Windows\Input\TextComposition.cs (5)
86public TextComposition(InputManager inputManager, IInputElement source, string resultText) : this(inputManager, source, resultText, TextCompositionAutoComplete.On) 93public TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete) : this(inputManager, source, resultText, autoComplete, InputManager.Current.PrimaryKeyboardDevice) 108internal TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) 349internal IInputElement Source 432private IInputElement _source;
System\Windows\Input\TextCompositionManager.cs (3)
439_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 642_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.Current.PrimaryKeyboardDevice); 664TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TouchDevice.cs (38)
108public sealed override IInputElement Target 141public IInputElement DirectlyOver 151public abstract TouchPoint GetTouchPoint(IInputElement relativeTo); 158public abstract TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo); 160private IInputElement CriticalHitTest(Point point, bool isSynchronize) 162IInputElement over = null; 198IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 219IInputElement ieTest = over; 263private static void EnsureValid(ref IInputElement element) 273private static IInputElement GlobalHitTest(Point pt, PresentationSource inputSource) 278private static IInputElement LocalHitTest(Point pt, PresentationSource inputSource) 293public IInputElement Captured 314public bool Capture(IInputElement element) 325public bool Capture(IInputElement element, CaptureMode captureMode) 355IInputElement oldCapture = _captured; 437private void UpdateReverseInheritedProperty(bool capture, IInputElement oldElement, IInputElement newElement) 605private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 612private void RaiseLostCapture(IInputElement oldCapture) 621private void RaiseGotCapture(IInputElement captured) 635protected virtual void OnCapture(IInputElement element, CaptureMode captureMode) 792IInputElement newDirectlyOver = null; 859private void ChangeDirectlyOver(IInputElement newDirectlyOver) 863IInputElement oldDirectlyOver = _directlyOver; 1151internal static TouchPointCollection GetTouchPoints(IInputElement relativeTo) 1167internal static TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo) 1181internal static void ReleaseAllCaptures(IInputElement element) 1197internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1202internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1207private static bool IsWithin(IInputElement parent, IInputElement child) 1226private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1235IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1247private static bool AreAnyTouchesCapturedOrDirectlyOver(IInputElement element, bool isCapture) 1255IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1278Point IManipulator.GetPosition(IInputElement relativeTo) 1303private IInputElement _directlyOver; 1304private IInputElement _captured;
System\Windows\Input\TouchEventArgs.cs (2)
35public TouchPoint GetTouchPoint(IInputElement relativeTo) 46public TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo)
System\Windows\Input\TouchFrameEventArgs.cs (2)
42public TouchPointCollection GetTouchPoints(IInputElement relativeTo) 52public TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo)
System\Windows\InterOp\HwndKeyboardInputProvider.cs (3)
359_restoreFocus = focusedDO as IInputElement; 492Keyboard.Focus(restoreFocusDO as IInputElement); 866private IInputElement _restoreFocus;
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
209int IMouseInputProvider.GetIntermediatePoints(IInputElement relativeTo, Point[] points)
System\Windows\InterOp\HwndSource.cs (5)
2336IInputElement focusElement = (IInputElement)focusSink; 2379IInputElement focusElement = focusSink as IInputElement; 2398Keyboard.PrimaryDevice.ForceTarget = focusSink as IInputElement;
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
101IInputElement inputElement = StylusDevice.LocalHitTest(_source, ptClient1);
System\Windows\PresentationSource.cs (2)
123public static void AddSourceChangedHandler(IInputElement element, SourceChangedEventHandler handler) 189public 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)
1988public IInputElement InputHitTest(Point point) 1990IInputElement enabledHit; 1991IInputElement rawHit; 2013internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit) 2038internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit, out HitTestResult rawHitResult) 2052rawHit = candidate as IInputElement; 2621FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
System\Windows\UIElement3D.cs (1)
602FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
PresentationFramework (211)
MS\Internal\AppModel\OleCmdHelper.cs (6)
102IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 106target = (IInputElement)Application.Current.MainWindow; 151IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 155target = (IInputElement)Application.Current.MainWindow; 287public bool Execute(IInputElement target, object argument) 315public bool QueryEnabled(IInputElement target, object argument)
MS\Internal\Commands\CommandHelpers.cs (5)
125IInputElement target = commandSource.CommandTarget; 132target = commandSource as IInputElement; 162IInputElement target = commandSource.CommandTarget; 169target = commandSource as IInputElement; 183internal static void ExecuteCommand(ICommand command, object parameter, IInputElement target)
MS\Internal\Documents\DocumentViewerHelper.cs (2)
351if (predictedFocus != null && predictedFocus is IInputElement && 354((IInputElement)predictedFocus).Focus();
MS\Internal\Documents\HostedElements.cs (6)
24internal class HostedElements : IEnumerator<IInputElement> 163public IInputElement Current 183IInputElement currentElement = null; 187Debug.Assert(_currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward) is IInputElement); 191Debug.Assert(_currentPosition.GetAdjacentElement(LogicalDirection.Forward) is IInputElement); 192currentElement = (IInputElement)_currentPosition.GetAdjacentElement(LogicalDirection.Forward);
MS\Internal\Documents\UIElementIsland.cs (4)
187IInputElement IContentHost.InputHitTest(Point point) 206IEnumerator<IInputElement> IContentHost.HostedElements 210List<IInputElement> hostedElements = new List<IInputElement>();
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
76mouse.GetPosition((IInputElement)(InkCanvas.SelectionAdorner)));
MS\Internal\PtsHost\BaseParaClient.cs (1)
120internal virtual IInputElement InputHitTest(PTS.FSPOINT pt)
MS\Internal\PtsHost\ContainerParaClient.cs (3)
89internal override IInputElement InputHitTest(PTS.FSPOINT pt) 91IInputElement ie = null; 114ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FigureParaClient.cs (3)
218internal override IInputElement InputHitTest(PTS.FSPOINT pt) 220IInputElement ie = null; 274ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FloaterParaClient.cs (3)
222internal override IInputElement InputHitTest(PTS.FSPOINT pt) 224IInputElement ie = null; 278ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\FlowDocumentPage.cs (8)
272internal IInputElement InputHitTestCore(Point point) 287IInputElement ie = null; 303return (ie != null) ? ie : _structuralCache.FormattingOwner as IInputElement; 364internal IEnumerator<IInputElement> HostedElementsCore 929private TextPointer FindElementPosition(IInputElement e, bool isLimitedToTextView) 1191IInputElement IContentHost.InputHitTest(Point point) 1214IEnumerator<IInputElement> IContentHost.HostedElements 1218return this.HostedElementsCore as IEnumerator<IInputElement>;
MS\Internal\PtsHost\Line.cs (2)
581internal IInputElement InputHitTest(int urOffset) 626return element as IInputElement;
MS\Internal\PtsHost\PageVisual.cs (2)
113IInputElement IContentHost.InputHitTest(Point point) 139IEnumerator<IInputElement> IContentHost.HostedElements
MS\Internal\PtsHost\PtsHelper.cs (4)
373internal static IInputElement InputHitTestTrack( 381IInputElement ie = null; 406internal static IInputElement InputHitTestParaList( 412IInputElement ie = null;
MS\Internal\PtsHost\PtsPage.cs (6)
210internal IInputElement InputHitTest(Point p) 212IInputElement ie = null; 1190private IInputElement InputHitTestPage(PTS.FSPOINT pt) 1192IInputElement ie = null; 1321private IInputElement InputHitTestSection( 1325IInputElement ie = null;
MS\Internal\PtsHost\SubpageParaClient.cs (3)
155internal override IInputElement InputHitTest(PTS.FSPOINT pt) 157IInputElement ie = null; 210ie = Paragraph.Element as IInputElement;
MS\Internal\PtsHost\TableParaClient.cs (2)
365internal override IInputElement InputHitTest(PTS.FSPOINT pt) 370IInputElement element = null;
MS\Internal\PtsHost\TextParaClient.cs (7)
195internal override IInputElement InputHitTest(PTS.FSPOINT pt) 197IInputElement ie = null; 242ie = Paragraph.Element as IInputElement; 3782private IInputElement InputHitTestSimpleLines( 3791IInputElement ie = null; 3962private IInputElement InputHitTestCompositeLines( 3971IInputElement ie = null;
MS\Internal\PtsHost\UIElementParaClient.cs (2)
167internal override IInputElement InputHitTest(PTS.FSPOINT pt) 171return Paragraph.Element as IInputElement;
MS\Internal\Text\ComplexLine.cs (2)
254internal override IInputElement InputHitTest(double offset) 316return element as IInputElement;
MS\Internal\Text\Line.cs (1)
280internal virtual IInputElement InputHitTest(double offset)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
445public IEnumerator<IInputElement> HostedElements 478public IInputElement InputHitTest(Point point)
System\Windows\Controls\Button.cs (1)
202private void UpdateIsDefaulted(IInputElement focus)
System\Windows\Controls\ContextMenu.cs (3)
608_weakRefToPreviousFocus = new WeakReference<IInputElement>(Keyboard.FocusedElement); 620IInputElement previousFocus; 705private WeakReference<IInputElement> _weakRefToPreviousFocus; // Keep the previously focused element before CM to open
System\Windows\Controls\DataGrid.cs (5)
5602Keyboard.Focus(nextFocusTarget as IInputElement); 5716Keyboard.Focus(nextFocusTarget as IInputElement); 5762Keyboard.Focus(nextFocusTarget as IInputElement); 5796Keyboard.Focus(nextFocusTarget as IInputElement); 5831Keyboard.Focus(nextFocusTarget as IInputElement);
System\Windows\Controls\Frame.cs (2)
222IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
System\Windows\Controls\MenuItem.cs (3)
518new FrameworkPropertyMetadata((IInputElement) null)); 524public IInputElement CommandTarget 526get { return (IInputElement)GetValue(CommandTargetProperty); }
System\Windows\Controls\PopupControlService.cs (20)
64IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 81IInputElement enabledHit; 142private void OnMouseMove(IInputElement directlyOver) 186IInputElement focusedElement = e.NewFocus; 210IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 431IInputElement element = o as IInputElement; 587IInputElement 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)
223typeof(IInputElement), 225new FrameworkPropertyMetadata((IInputElement)null)); 376public IInputElement CommandTarget 380return (IInputElement)GetValue(CommandTargetProperty);
System\Windows\Controls\Primitives\Popup.cs (3)
1133IInputElement capturedElement = Mouse.Captured; 3036IInputElement relativeTarget = targetVisual as IInputElement;
System\Windows\Controls\Primitives\ScrollBar.cs (8)
158Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 167Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 188_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track); 395private IInputElement CommandTarget 399IInputElement target = TemplatedParent as IInputElement; 412IInputElement target = CommandTarget; 429IInputElement target = CommandTarget;
System\Windows\Controls\ScrollViewer.cs (2)
998((IInputElement)predictedFocus).Focus(); 1011((IInputElement)predictedFocus).Focus();
System\Windows\Controls\StickyNote.cs (3)
886IInputElement captured = null; 1381IInputElement newFocus = null; 1385newFocus = parent as IInputElement;
System\Windows\Controls\TextBlock.cs (7)
72IInputElement IContentHost.InputHitTest(Point point) 94IEnumerator<IInputElement> IContentHost.HostedElements 1662protected virtual IInputElement InputHitTestCore(Point point) 1675IInputElement ie = null; 1764TextPointer start = FindElementPosition((IInputElement)child); 1858protected virtual IEnumerator<IInputElement> HostedElementsCore 3643private TextPointer FindElementPosition(IInputElement e)
System\Windows\Controls\ToolBarTray.cs (1)
532Point pointRelativeToToolBarTray = Mouse.PrimaryDevice.GetPosition((IInputElement)this);
System\Windows\Controls\TreeView.cs (1)
705IInputElement originalFocusedElement = Keyboard.FocusedElement;
System\Windows\Controls\TreeViewItem.cs (1)
684IInputElement originalFocus = Keyboard.FocusedElement;
System\Windows\Documents\FixedPage.cs (1)
609internal static Uri GetLinkUri(IInputElement element, Uri inputUri)
System\Windows\Documents\FrameworkRichTextComposition.cs (1)
30internal FrameworkRichTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, owner)
System\Windows\Documents\FrameworkTextComposition.cs (1)
37internal FrameworkTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, String.Empty, TextCompositionAutoComplete.Off)
System\Windows\Documents\Hyperlink.cs (22)
301typeof(IInputElement), 303new FrameworkPropertyMetadata((IInputElement)null)); 309public IInputElement CommandTarget 313return (IInputElement)GetValue(CommandTargetProperty); 565private static void NavigateToUri(IInputElement sourceElement, Uri targetUri, string targetWindow) 617IInputElement element = (IInputElement)sender; 651IInputElement element = (IInputElement)sender; 877IInputElement element = d as IInputElement; 914private static void SetUpNavigationEventHandlers(IInputElement element) 939private static void SetUpEventHandler(IInputElement element, RoutedEvent routedEvent, Delegate handler) 980IInputElement element = (IInputElement)sender; 1021IInputElement element = (IInputElement)sender; 1066IInputElement ee = (IInputElement)sender; 1116IInputElement element = (IInputElement)sender; 1130internal static void RaiseNavigate(IInputElement element, Uri targetUri, string targetWindow)
System\windows\Documents\TextEditorDragDrop.cs (1)
383Point pointScroller = e.GetPosition((IInputElement)scroller);
System\windows\Documents\TextEditorMouse.cs (1)
530Point pointScroller = e.GetPosition((IInputElement)scroller);
System\windows\Documents\TextEditorTyping.cs (8)
495IInputElement element = target as IInputElement; 505IInputElement element = target as IInputElement; 1360EditingCommands.IncreaseIndentation.CanExecute(null, (IInputElement)sender)) 1363EditingCommands.IncreaseIndentation.Execute(null, (IInputElement)sender); 1392EditingCommands.DecreaseIndentation.CanExecute(null, (IInputElement)sender)) 1395EditingCommands.DecreaseIndentation.Execute(null, (IInputElement)sender);
System\Windows\FrameworkElement.cs (2)
5345IInputElement activeElement = FocusManager.GetFocusedElement(fe, true); 5348IInputElement oldFocus = Keyboard.FocusedElement;
System\Windows\Input\KeyboardNavigation.cs (15)
923FocusManager.SetFocusedElement(focusScope, focusTarget as IInputElement); 1056IInputElement iie = nextTab as IInputElement; 1463IInputElement previousElement = null; 1464IEnumerator<IInputElement> enumerator = ich.HostedElements; 1467IInputElement current = enumerator.Current; 1521IEnumerator<IInputElement> enumerator = ich.HostedElements; 1525IInputElement current = enumerator.Current; 1587IInputElement iie = e as IInputElement; 1636IEnumerator<IInputElement> enumerator = ich.HostedElements; 1639IInputElement current = enumerator.Current; 1703IEnumerator<IInputElement> enumerator = ich.HostedElements; 1704IInputElement last = null; 1707IInputElement current = enumerator.Current;
System\Windows\Navigation\NavigationService.cs (8)
384IInputElement elem = _bp as IInputElement; 816IInputElement iie = oldTree as IInputElement; 3537IInputElement iie = _navigatorHost as IInputElement; 3552IInputElement iie = value as IInputElement;
System\Windows\Shell\ThumbButtonInfo.cs (5)
219typeof(IInputElement), 262IInputElement target = CommandTarget; 302IInputElement target = CommandTarget; 334public IInputElement CommandTarget 336get { return (IInputElement)GetValue(CommandTargetProperty); }
System\Windows\Shell\WindowChrome.cs (4)
116public static bool GetIsHitTestVisibleInChrome(IInputElement inputElement) 129public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible) 148public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement) 161public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)
System\Windows\Shell\WindowChromeWorker.cs (1)
498IInputElement inputElement = _window.InputHitTest(mousePosWindow);
System\Windows\Window.cs (2)
2107IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
ReachFramework (9)
Serialization\Manager\ReachSerializationUtils.cs (9)
803if (element is IInputElement) 805SerializeLinkTargetForElement((IInputElement)element, null, page); 825if (visual is IInputElement) 827SerializeLinkTargetForElement((IInputElement)visual, null, visual); 848System.Collections.Generic.IEnumerator<IInputElement> enumerator = contentHost.HostedElements; 851IInputElement element = enumerator.Current; 876if (element is IInputElement) 878SerializeLinkTargetForElement((IInputElement)element, contentHost, root); 895private void SerializeLinkTargetForElement(IInputElement element, IContentHost contentHost, Visual root)
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\KeyTipService.cs (4)
950IInputElement inputElement = exactMatchElement as IInputElement; 1371IInputElement inputElement = element as IInputElement;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2855public IInputElement CommandTarget 2857get { return (IInputElement)GetValue(CommandTargetProperty); } 2867typeof(IInputElement),
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (4)
377public IInputElement CommandTarget 379get { return (IInputElement)GetValue(CommandTargetProperty); } 391typeof(IInputElement), 393new FrameworkPropertyMetadata((IInputElement)null));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
126public IInputElement CommandTarget 128get { return (IInputElement)GetValue(CommandTargetProperty); } 138typeof(IInputElement),
Microsoft\Windows\Input\CommandHelpers.cs (4)
39IInputElement target = commandSource.CommandTarget; 43target = commandSource as IInputElement; 101IInputElement target = commandSource.CommandTarget; 105target = commandSource as IInputElement;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
679if (element is SW.IInputElement)