1 interface inheriting from IInputElement
PresentationFramework (1)
src\Framework\System\Windows\IFrameworkInputElement.cs (1)
10public interface IFrameworkInputElement : IInputElement
3 implementations of IInputElement
PresentationCore (3)
Core\CSharp\System\Windows\ContentElement.cs (1)
30public partial class ContentElement : DependencyObject, IInputElement, IAnimatable
Core\CSharp\System\Windows\UIElement.cs (1)
79public partial class UIElement : Visual, IInputElement, IAnimatable
Core\CSharp\System\Windows\UIElement3D.cs (1)
43public abstract partial class UIElement3D : Visual3D, IInputElement
503 references to IInputElement
PresentationCore (245)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (2)
397internal static void RaiseFocusChangedEventHelper(IInputElement newFocus) 416internal static AutomationPeer AutomationPeerFromInputElement(IInputElement focusedElement)
Core\CSharp\System\Windows\DragEventArgs.cs (1)
95public Point GetPosition(IInputElement relativeTo)
Core\CSharp\System\Windows\Generated\UIElement.cs (3)
930CommandManager.TranslateInput((IInputElement)sender, e); 1353CommandManager.TranslateInput((IInputElement)sender, e); 2199CommandManager.TranslateInput((IInputElement)sender, e);
Core\CSharp\System\Windows\IContentHost.cs (2)
24IInputElement InputHitTest(Point point); 50IEnumerator<IInputElement> HostedElements
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (28)
38public static void Register(string key, IInputElement element) 72public static void Unregister(string key, IInputElement element) 109List<IInputElement> targets = akm.GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 257IInputElement inputElementSender = sender as IInputElement; 258List<IInputElement> targets = GetTargetsForSender(inputElementSender, key); 271List<IInputElement> targets = GetTargetsForScope(scope, key, null, AccessKeyInformation.Empty); 281private ProcessKeyResult ProcessKey(List<IInputElement> targets, string key, bool existsElsewhere, bool userInitiated) 401private List<IInputElement> GetTargetsForSender(IInputElement sender, string key) 415private List<IInputElement> GetTargetsForScope(object scope, string key, IInputElement sender, AccessKeyInformation senderInfo) 443List<IInputElement> possibleElements; 451List<IInputElement> finalTargets = new List<IInputElement>(1); 456IInputElement element = possibleElements[i]; 495private AccessKeyInformation GetInfoForElement(IInputElement element, string key) 521private PresentationSource GetSourceForElement(IInputElement element) 575private bool IsTargetable(IInputElement element) 681private static List<IInputElement> CopyAndPurgeDead(ArrayList elements) 688List<IInputElement> copy = new List<IInputElement>(elements.Count); 701Debug.Assert(element is IInputElement, "Element in AccessKeyManager store was not of type IInputElement"); 702copy.Add((IInputElement)element); 756IInputElement accessKeyElement = (cachedElementWeakRef != null) ? (IInputElement)cachedElementWeakRef.Target : null; 800IInputElement currentElement = (IInputElement)currentElementWeakRef.Target;
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (4)
41public override IInputElement Target 117IInputElement commandTarget = e.StagingItem.Input.OriginalSource as IInputElement; 302private IInputElement GetSourceFromDevice(InputType device)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (9)
346internal static void TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 354IInputElement target = null; 509private static bool ExecuteCommand(RoutedCommand routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs) 532IInputElement focusedElement = GetParentScopeFocusedElement(d); 567IInputElement focusedElement = GetParentScopeFocusedElement(d); 754private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e) 775private static void TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e) 792private static IInputElement GetParentScopeFocusedElement(DependencyObject childScope) 797IInputElement focusedElement = FocusManager.GetFocusedElement(parentScope);
Core\CSharp\System\Windows\Input\Command\ICommandSource.cs (1)
40IInputElement CommandTarget
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (3)
137DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding)); 142public IInputElement CommandTarget 146return (IInputElement)GetValue(CommandTargetProperty);
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (9)
146public void Execute(object parameter, IInputElement target) 173public bool CanExecute(object parameter, IInputElement target) 191internal bool CriticalCanExecute(object parameter, IInputElement target, bool trusted, out bool continueRouting) 353private static IInputElement FilterInputElement(IInputElement elem) 373private bool CanExecuteImpl(object parameter, IInputElement target, bool trusted, out bool continueRouting) 402private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args) 428internal bool ExecuteCore(object parameter, IInputElement target, bool userInitiated) 445private bool ExecuteImpl(object parameter, IInputElement target, bool userInitiated)
Core\CSharp\System\Windows\Input\DeadCharTextComposition.cs (1)
43internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice)
Core\CSharp\System\Windows\Input\DefaultTextStoreTextComposition.cs (1)
51internal DefaultTextStoreTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete) : base(inputManager, source, text, autoComplete)
Core\CSharp\System\Windows\Input\FocusChangedEventArgs.cs (6)
29public KeyboardFocusChangedEventArgs(KeyboardDevice keyboard, int timestamp, IInputElement oldFocus, IInputElement newFocus) : base(keyboard, timestamp) 44public IInputElement OldFocus 52public IInputElement NewFocus 74private IInputElement _oldFocus; 75private IInputElement _newFocus;
Core\CSharp\System\Windows\Input\FocusManager.cs (7)
97typeof(IInputElement), 127public static IInputElement GetFocusedElement(DependencyObject element) 144internal static IInputElement GetFocusedElement(DependencyObject element, bool validate) 169return (IInputElement)focusedElement; 177public static void SetFocusedElement(DependencyObject element, IInputElement value) 237IInputElement newFocusedElement = (IInputElement)e.NewValue;
Core\CSharp\System\Windows\Input\IManipulator.cs (1)
38Point GetPosition(IInputElement relativeTo);
Core\CSharp\System\Windows\Input\IMouseInputProvider.cs (1)
42int GetIntermediatePoints(IInputElement relativeTo, Point[] points);
Core\CSharp\System\Windows\Input\InputDevice.cs (1)
25public abstract IInputElement Target{get;}
Core\CSharp\System\Windows\Input\InputElement.cs (4)
17internal static bool IsValid(IInputElement e) 114internal static IInputElement GetContainingInputElement(DependencyObject o, bool onlyTraverse2D) 116IInputElement container = null; 157internal static IInputElement GetContainingInputElement(DependencyObject o)
Core\CSharp\System\Windows\Input\InputManager.cs (1)
955if(eventSource == null || !InputElement.IsValid(eventSource as IInputElement))
Core\CSharp\System\Windows\Input\InputMethod.cs (3)
1404IInputElement inputElement = (IInputElement)d; 1744private static IntPtr HwndFromInputElement(IInputElement element)
Core\CSharp\System\Windows\Input\Keyboard.cs (3)
274public static IInputElement FocusedElement 297public static IInputElement Focus(IInputElement element)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (19)
66public override IInputElement Target 78internal IInputElement ForceTarget 82return (IInputElement) _forceTarget; 126public IInputElement FocusedElement 131return (IInputElement) _focus; 155public IInputElement Focus(IInputElement element) 181return (IInputElement) _focus; 356KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 374KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 430IInputElement newFocusElement = newFocus as IInputElement; 544KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 552KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus); 565AutomationPeer.RaiseFocusChangedEventHelper((IInputElement)_focus);
Core\CSharp\System\Windows\Input\Manipulation.cs (2)
156public static void SetManipulationContainer(UIElement element, IInputElement container) 180public static IInputElement GetManipulationContainer(UIElement element)
Core\CSharp\System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (2)
27IInputElement manipulationContainer, 65public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationCompletedEventArgs.cs (2)
27IInputElement manipulationContainer, 90public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationDeltaEventArgs.cs (2)
27IInputElement manipulationContainer, 97public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (2)
63public override IInputElement Target 246internal IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (2)
30IInputElement manipulationContainer, 77public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationLogic.cs (3)
475internal IInputElement ManipulationContainer 614private void SetContainer(IInputElement newContainer) 756private IInputElement _currentContainer;
Core\CSharp\System\Windows\Input\ManipulationStartedEventArgs.cs (2)
27IInputElement manipulationContainer, 65public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\ManipulationStartingEventArgs.cs (1)
49public IInputElement ManipulationContainer
Core\CSharp\System\Windows\Input\Mouse.cs (6)
403public static IInputElement DirectlyOver 416public static IInputElement Captured 441public static bool Capture(IInputElement element) 455public static bool Capture(IInputElement element, CaptureMode captureMode) 475public static int GetIntermediatePoints(IInputElement relativeTo, Point[] points) 582public static Point GetPosition(IInputElement relativeTo)
Core\CSharp\System\Windows\Input\MouseDevice.cs (32)
207public override IInputElement Target 272public IInputElement DirectlyOver 286internal IInputElement RawDirectlyOver 292IInputElement rawMouseOver = (IInputElement)_rawMouseOver.Target; 306public IInputElement Captured 329public bool Capture(IInputElement element) 342public bool Capture(IInputElement element, CaptureMode captureMode) 628public Point GetPosition(IInputElement relativeTo) 1050private void ChangeMouseOver(IInputElement mouseOver, int timestamp) 1059IInputElement oldMouseOver = _mouseOver; 1143private void ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, int timestamp) 1152IInputElement oldMouseCapture = _mouseCapture; 1583IInputElement mouseOver = _mouseOver; // assume mouse is still over whatever it was before 1584IInputElement rawMouseOver = (_rawMouseOver != null) ? (IInputElement)_rawMouseOver.Target : null; 1659IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1681IInputElement ieTest = mouseOver; 2161internal static IInputElement GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2163IInputElement enabledHit; 2164IInputElement originalHit; 2170internal static IInputElement GlobalHitTest(Point ptClient, PresentationSource inputSource) 2183private static void GlobalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2230internal static IInputElement LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource) 2232IInputElement enabledHit; 2233IInputElement originalHit; 2239internal static IInputElement LocalHitTest(Point ptClient, PresentationSource inputSource) 2251private static void LocalHitTest(bool clientUnits, Point pt, PresentationSource inputSource, out IInputElement enabledHit, out IInputElement originalHit) 2385private IInputElement _mouseOver; 2390private IInputElement _mouseCapture;
Core\CSharp\System\Windows\Input\MouseEventArgs.cs (1)
73public Point GetPosition(IInputElement relativeTo)
Core\CSharp\System\Windows\Input\TextComposition.cs (5)
91public TextComposition(InputManager inputManager, IInputElement source, string resultText) : this(inputManager, source, resultText, TextCompositionAutoComplete.On) 103public TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete) : this(inputManager, source, resultText, autoComplete, InputManager.Current.PrimaryKeyboardDevice) 123internal TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) 373internal IInputElement Source 464private IInputElement _source;
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (3)
564_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 776_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.Current.PrimaryKeyboardDevice); 798TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
Core\CSharp\System\Windows\Input\TouchDevice.cs (38)
130public sealed override IInputElement Target 175public IInputElement DirectlyOver 185public abstract TouchPoint GetTouchPoint(IInputElement relativeTo); 192public abstract TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo); 199private IInputElement CriticalHitTest(Point point, bool isSynchronize) 201IInputElement over = null; 237IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 258IInputElement ieTest = over; 302private static void EnsureValid(ref IInputElement element) 312private static IInputElement GlobalHitTest(Point pt, PresentationSource inputSource) 317private static IInputElement LocalHitTest(Point pt, PresentationSource inputSource) 332public IInputElement Captured 353public bool Capture(IInputElement element) 364public bool Capture(IInputElement element, CaptureMode captureMode) 394IInputElement oldCapture = _captured; 476private void UpdateReverseInheritedProperty(bool capture, IInputElement oldElement, IInputElement newElement) 647private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 659private void RaiseLostCapture(IInputElement oldCapture) 673private void RaiseGotCapture(IInputElement captured) 687protected virtual void OnCapture(IInputElement element, CaptureMode captureMode) 858IInputElement newDirectlyOver = null; 924private void ChangeDirectlyOver(IInputElement newDirectlyOver) 928IInputElement oldDirectlyOver = _directlyOver; 1240internal static TouchPointCollection GetTouchPoints(IInputElement relativeTo) 1256internal static TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo) 1270internal static void ReleaseAllCaptures(IInputElement element) 1286internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1291internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1296private static bool IsWithin(IInputElement parent, IInputElement child) 1315private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1324IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1336private static bool AreAnyTouchesCapturedOrDirectlyOver(IInputElement element, bool isCapture) 1344IInputElement touchElement = isCapture ? device.Captured : device.DirectlyOver; 1367Point IManipulator.GetPosition(IInputElement relativeTo) 1401private IInputElement _directlyOver; 1402private IInputElement _captured;
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (2)
34public TouchPoint GetTouchPoint(IInputElement relativeTo) 45public TouchPointCollection GetIntermediateTouchPoints(IInputElement relativeTo)
Core\CSharp\System\Windows\Input\TouchFrameEventArgs.cs (2)
41public TouchPointCollection GetTouchPoints(IInputElement relativeTo) 51public TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (3)
412_restoreFocus = focusedDO as IInputElement; 551Keyboard.Focus(restoreFocusDO as IInputElement); 967private IInputElement _restoreFocus;
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
263int IMouseInputProvider.GetIntermediatePoints(IInputElement relativeTo, Point[] points)
Core\CSharp\System\Windows\Interop\HwndSource.cs (5)
2677IInputElement focusElement = (IInputElement)focusSink; 2721IInputElement focusElement = focusSink as IInputElement; 2740Keyboard.PrimaryDevice.ForceTarget = focusSink as IInputElement;
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
132IInputElement inputElement = StylusDevice.LocalHitTest(_source.Value, ptClient1);
Core\CSharp\System\Windows\PresentationSource.cs (2)
157public static void AddSourceChangedHandler(IInputElement element, SourceChangedEventHandler handler) 224public static void RemoveSourceChangedHandler(IInputElement e, SourceChangedEventHandler handler)
Core\CSharp\System\Windows\SourceChangedEventArgs.cs (6)
60IInputElement element, 61IInputElement oldParent) 114public IInputElement Element 123public IInputElement OldParent 152private IInputElement _element; 153private IInputElement _oldParent;
Core\CSharp\System\Windows\UIElement.cs (9)
2016public IInputElement InputHitTest(Point point) 2018IInputElement enabledHit; 2019IInputElement rawHit; 2041internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit) 2066internal void InputHitTest(Point pt, out IInputElement enabledHit, out IInputElement rawHit, out HitTestResult rawHitResult) 2080rawHit = candidate as IInputElement; 2650FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
Core\CSharp\System\Windows\UIElement3D.cs (1)
610FocusManager.SetFocusedElement(focusScope, (IInputElement)this);
PresentationFramework (214)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (6)
116IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 120target = (IInputElement)Application.Current.MainWindow; 173IInputElement target = FocusManager.GetFocusedElement(Application.Current.MainWindow); 177target = (IInputElement)Application.Current.MainWindow; 345public bool Execute(IInputElement target, object argument) 378public bool QueryEnabled(IInputElement target, object argument)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
934IInputElement target = rbw.Content as IInputElement;
src\Framework\MS\Internal\Commands\CommandHelpers.cs (5)
129IInputElement target = commandSource.CommandTarget; 136target = commandSource as IInputElement; 178IInputElement target = commandSource.CommandTarget; 185target = commandSource as IInputElement; 199internal static void ExecuteCommand(ICommand command, object parameter, IInputElement target)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
371if (predictedFocus != null && predictedFocus is IInputElement && 374((IInputElement)predictedFocus).Focus();
src\Framework\MS\Internal\Documents\HostedElements.cs (6)
29internal class HostedElements : IEnumerator<IInputElement> 171public IInputElement Current 191IInputElement currentElement = null; 195Debug.Assert(_currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward) is IInputElement); 199Debug.Assert(_currentPosition.GetAdjacentElement(LogicalDirection.Forward) is IInputElement); 200currentElement = (IInputElement)_currentPosition.GetAdjacentElement(LogicalDirection.Forward);
src\Framework\MS\Internal\Documents\UIElementIsland.cs (4)
189IInputElement IContentHost.InputHitTest(Point point) 208IEnumerator<IInputElement> IContentHost.HostedElements 212List<IInputElement> hostedElements = new List<IInputElement>();
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
78mouse.GetPosition((IInputElement)(InkCanvas.SelectionAdorner)));
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
135internal virtual IInputElement InputHitTest(PTS.FSPOINT pt)
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (3)
108internal override IInputElement InputHitTest(PTS.FSPOINT pt) 110IInputElement ie = null; 133ie = Paragraph.Element as IInputElement;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (3)
253internal override IInputElement InputHitTest(PTS.FSPOINT pt) 255IInputElement ie = null; 309ie = Paragraph.Element as IInputElement;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (3)
255internal override IInputElement InputHitTest(PTS.FSPOINT pt) 257IInputElement ie = null; 311ie = Paragraph.Element as IInputElement;
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (8)
274internal IInputElement InputHitTestCore(Point point) 289IInputElement ie = null; 305return (ie != null) ? ie : _structuralCache.FormattingOwner as IInputElement; 366internal IEnumerator<IInputElement> HostedElementsCore 951private TextPointer FindElementPosition(IInputElement e, bool isLimitedToTextView) 1216IInputElement IContentHost.InputHitTest(Point point) 1239IEnumerator<IInputElement> IContentHost.HostedElements 1243return this.HostedElementsCore as IEnumerator<IInputElement>;
src\Framework\MS\Internal\PtsHost\Line.cs (2)
584internal IInputElement InputHitTest(int urOffset) 629return element as IInputElement;
src\Framework\MS\Internal\PtsHost\PageVisual.cs (2)
117IInputElement IContentHost.InputHitTest(Point point) 143IEnumerator<IInputElement> IContentHost.HostedElements
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (4)
407internal static IInputElement InputHitTestTrack( 415IInputElement ie = null; 440internal static IInputElement InputHitTestParaList( 446IInputElement ie = null;
src\Framework\MS\Internal\PtsHost\PtsPage.cs (6)
219internal IInputElement InputHitTest(Point p) 221IInputElement ie = null; 1306private IInputElement InputHitTestPage(PTS.FSPOINT pt) 1308IInputElement ie = null; 1449private IInputElement InputHitTestSection( 1453IInputElement ie = null;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (3)
182internal override IInputElement InputHitTest(PTS.FSPOINT pt) 184IInputElement ie = null; 237ie = Paragraph.Element as IInputElement;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (2)
396internal override IInputElement InputHitTest(PTS.FSPOINT pt) 401IInputElement element = null;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
226internal override IInputElement InputHitTest(PTS.FSPOINT pt) 228IInputElement ie = null; 273ie = Paragraph.Element as IInputElement; 4066private IInputElement InputHitTestSimpleLines( 4075IInputElement ie = null; 4255private IInputElement InputHitTestCompositeLines( 4264IInputElement ie = null;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
174internal override IInputElement InputHitTest(PTS.FSPOINT pt) 178return Paragraph.Element as IInputElement;
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
257internal override IInputElement InputHitTest(double offset) 320return element as IInputElement;
src\Framework\MS\Internal\Text\Line.cs (1)
283internal virtual IInputElement InputHitTest(double offset)
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
456public IEnumerator<IInputElement> HostedElements 489public IInputElement InputHitTest(Point point)
src\Framework\System\Windows\Controls\Button.cs (1)
198private void UpdateIsDefaulted(IInputElement focus)
src\Framework\System\Windows\Controls\ContextMenu.cs (3)
612_weakRefToPreviousFocus = new WeakReference<IInputElement>(Keyboard.FocusedElement); 624IInputElement previousFocus; 709private WeakReference<IInputElement> _weakRefToPreviousFocus; // Keep the previously focused element before CM to open
src\Framework\System\Windows\Controls\DataGrid.cs (5)
5607Keyboard.Focus(nextFocusTarget as IInputElement); 5721Keyboard.Focus(nextFocusTarget as IInputElement); 5767Keyboard.Focus(nextFocusTarget as IInputElement); 5801Keyboard.Focus(nextFocusTarget as IInputElement); 5836Keyboard.Focus(nextFocusTarget as IInputElement);
src\Framework\System\Windows\Controls\Frame.cs (2)
229IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
src\Framework\System\Windows\Controls\MenuItem.cs (3)
513new FrameworkPropertyMetadata((IInputElement) null)); 519public IInputElement CommandTarget 521get { return (IInputElement)GetValue(CommandTargetProperty); }
src\Framework\System\Windows\Controls\PopupControlService.cs (21)
75IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 93IInputElement enabledHit; 155private void OnMouseMove(IInputElement directlyOver, Point pt) 169IInputElement focusedElement = e.NewFocus; 190IInputElement directlyOver = Mouse.PrimaryDevice.RawDirectlyOver; 240IInputElement focusedElement = Keyboard.FocusedElement; 376IInputElement element = o as IInputElement; 479IInputElement element = o as IInputElement; 566IInputElement element = o as IInputElement; 653private IInputElement LastMouseDirectlyOver 659IInputElement e = (IInputElement)_lastMouseDirectlyOver.Target; 830IInputElement source = e.OriginalSource as IInputElement; 844private bool RaiseContextMenuOpeningEvent(IInputElement source, double x, double y,bool userInitiated) 934IInputElement inputElement = (o is ContentElement || o is UIElement3D) ? (IInputElement)o : (IInputElement)uie;
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (4)
218typeof(IInputElement), 220new FrameworkPropertyMetadata((IInputElement)null)); 365public IInputElement CommandTarget 369return (IInputElement)GetValue(CommandTargetProperty);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (3)
1138IInputElement capturedElement = Mouse.Captured; 3092IInputElement relativeTarget = targetVisual as IInputElement;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (8)
160Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 169Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 193_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track); 400private IInputElement CommandTarget 404IInputElement target = TemplatedParent as IInputElement; 417IInputElement target = CommandTarget; 434IInputElement target = CommandTarget;
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
1025((IInputElement)predictedFocus).Focus(); 1038((IInputElement)predictedFocus).Focus();
src\Framework\System\Windows\Controls\StickyNote.cs (3)
896IInputElement captured = null; 1391IInputElement newFocus = null; 1395newFocus = parent as IInputElement;
src\Framework\System\Windows\Controls\TextBlock.cs (7)
78IInputElement IContentHost.InputHitTest(Point point) 100IEnumerator<IInputElement> IContentHost.HostedElements 1747protected virtual IInputElement InputHitTestCore(Point point) 1760IInputElement ie = null; 1852TextPointer start = FindElementPosition((IInputElement)child); 1946protected virtual IEnumerator<IInputElement> HostedElementsCore 3632private TextPointer FindElementPosition(IInputElement e)
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
543Point pointRelativeToToolBarTray = Mouse.PrimaryDevice.GetPosition((IInputElement)this);
src\Framework\System\Windows\Controls\TreeView.cs (1)
707IInputElement originalFocusedElement = Keyboard.FocusedElement;
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
685IInputElement originalFocus = Keyboard.FocusedElement;
src\Framework\System\Windows\Documents\FixedPage.cs (1)
634internal static Uri GetLinkUri(IInputElement element, Uri inputUri)
src\Framework\System\Windows\Documents\FrameworkRichTextComposition.cs (1)
36internal FrameworkRichTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, owner)
src\Framework\System\Windows\Documents\FrameworkTextComposition.cs (1)
45internal FrameworkTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, String.Empty, TextCompositionAutoComplete.Off)
src\Framework\System\Windows\Documents\Hyperlink.cs (22)
295typeof(IInputElement), 297new FrameworkPropertyMetadata((IInputElement)null)); 303public IInputElement CommandTarget 307return (IInputElement)GetValue(CommandTargetProperty); 586private static void NavigateToUri(IInputElement sourceElement, Uri targetUri, string targetWindow) 644IInputElement element = (IInputElement)sender; 686IInputElement element = (IInputElement)sender; 930IInputElement element = d as IInputElement; 980private static void SetUpNavigationEventHandlers(IInputElement element) 1005private static void SetUpEventHandler(IInputElement element, RoutedEvent routedEvent, Delegate handler) 1050IInputElement element = (IInputElement)sender; 1096IInputElement element = (IInputElement)sender; 1149IInputElement ee = (IInputElement)sender; 1218IInputElement element = (IInputElement)sender; 1232internal static void RaiseNavigate(IInputElement element, Uri targetUri, string targetWindow)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
395Point pointScroller = e.GetPosition((IInputElement)scroller);
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
532Point pointScroller = e.GetPosition((IInputElement)scroller);
src\Framework\System\windows\Documents\TextEditorTyping.cs (8)
511IInputElement element = target as IInputElement; 521IInputElement element = target as IInputElement; 1377EditingCommands.IncreaseIndentation.CanExecute(null, (IInputElement)sender)) 1380EditingCommands.IncreaseIndentation.Execute(null, (IInputElement)sender); 1409EditingCommands.DecreaseIndentation.CanExecute(null, (IInputElement)sender)) 1412EditingCommands.DecreaseIndentation.Execute(null, (IInputElement)sender);
src\Framework\System\Windows\FrameworkElement.cs (2)
5343IInputElement activeElement = FocusManager.GetFocusedElement(fe, true); 5346IInputElement oldFocus = Keyboard.FocusedElement;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (15)
977FocusManager.SetFocusedElement(focusScope, focusTarget as IInputElement); 1111IInputElement iie = nextTab as IInputElement; 1549IInputElement previousElement = null; 1550IEnumerator<IInputElement> enumerator = ich.HostedElements; 1553IInputElement current = enumerator.Current; 1607IEnumerator<IInputElement> enumerator = ich.HostedElements; 1611IInputElement current = enumerator.Current; 1673IInputElement iie = e as IInputElement; 1722IEnumerator<IInputElement> enumerator = ich.HostedElements; 1725IInputElement current = enumerator.Current; 1789IEnumerator<IInputElement> enumerator = ich.HostedElements; 1790IInputElement last = null; 1793IInputElement current = enumerator.Current;
src\Framework\System\Windows\Navigation\NavigationService.cs (8)
416IInputElement elem = _bp as IInputElement; 944IInputElement iie = oldTree as IInputElement; 3814IInputElement iie = _navigatorHost as IInputElement; 3829IInputElement iie = value as IInputElement;
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (5)
217typeof(IInputElement), 260IInputElement target = CommandTarget; 300IInputElement target = CommandTarget; 332public IInputElement CommandTarget 334get { return (IInputElement)GetValue(CommandTargetProperty); }
src\Framework\System\Windows\Shell\WindowChrome.cs (4)
114public static bool GetIsHitTestVisibleInChrome(IInputElement inputElement) 127public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible) 146public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement) 159public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
779IInputElement inputElement = _window.InputHitTest(mousePosWindow);
src\Framework\System\Windows\Window.cs (2)
2141IInputElement focusedElement = FocusManager.GetFocusedElement(doContent) as IInputElement;
System.Activities.Core.Presentation (23)
System\Activities\Core\Presentation\CaseDesigner.xaml.cs (1)
59Keyboard.Focus((IInputElement)this);
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
200Keyboard.Focus((IInputElement)this.visibleBox);
System\Activities\Core\Presentation\DelegateArgumentsValueEditor.cs (1)
22public override void ShowDialog(PropertyValue propertyValue, Windows.IInputElement commandSource)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
378Keyboard.Focus(modelItemsToSelect[0].View as IInputElement);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
450bool endLinkCreation = !IsVisualHit(sender as UIElement, sender as UIElement, e.GetPosition(sender as IInputElement)); 2046Point mouseUpLocation = e.GetPosition(sender as IInputElement);
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
410Keyboard.Focus(modelItemsPasted[0].View as IInputElement);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
1688bool endLinkCreation = !IsVisualHit(sender as UIElement, sender as UIElement, e.GetPosition(sender as IInputElement)); 2010Keyboard.Focus((IInputElement)modelItem.View);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (2)
321Keyboard.Focus((IInputElement)sender); 327Keyboard.Focus((IInputElement)sender);
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (5)
362Keyboard.Focus((IInputElement)sender); 368Keyboard.Focus((IInputElement)sender); 399Keyboard.Focus((IInputElement)sender); 405Keyboard.Focus((IInputElement)sender); 519Keyboard.Focus((IInputElement)this);
System\Activities\Presentation\ArgumentCollectionPropertyEditor.cs (1)
27public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\Activities\Presentation\TypeCollectionPropertyEditor.cs (1)
45public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\ServiceModel\Activities\Presentation\CorrelatesOnValueEditor.cs (1)
24public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\ServiceModel\Activities\Presentation\CorrelationInitializerValueEditor.cs (1)
23public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\ServiceModel\Activities\Presentation\InitializeCorrelationDesigner.xaml.cs (1)
81public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\ServiceModel\Activities\Presentation\ReceiveContentPropertyEditor.cs (1)
19public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System\ServiceModel\Activities\Presentation\SendContentPropertyEditor.cs (1)
19public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System.Activities.Presentation (21)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
341if (CategoryContainerCommands.UpdateCategoryExpansionState.CanExecute(null, d as IInputElement)) 343CategoryContainerCommands.UpdateCategoryExpansionState.Execute(null, d as IInputElement);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
154public static void SetFocusToFocusScope(IInputElement newFocus)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
66public static void ExecuteCommand(ICommand command, IInputElement element, object parameter)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\DialogPropertyValueEditor.cs (1)
58public virtual void ShowDialog(PropertyValue propertyValue, IInputElement commandSource) {
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (5)
184IInputElement dialogCommandSource = theThis.DialogCommandSource ?? theThis; 206typeof(IInputElement), 208new PropertyMetadata((IInputElement)null)); 217public IInputElement DialogCommandSource 219get { return (IInputElement)this.GetValue(DialogCommandSourceProperty); }
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
799public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (2)
58var focusedElement = FocusManager.GetFocusedElement(rootVisual); 61focusedElement = rootVisual as IInputElement;
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
362Point clickedPosition = args.GetPosition(hitTest.VisualHit as IInputElement);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
975Keyboard.Focus(this.itemToFocus.View as IInputElement);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
620editor.ShowDialog(propertyEntry.PropertyValue, (IInputElement)args.OriginalSource);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1391this.Dispatcher.BeginInvoke(new Action<IInputElement>((target) =>
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (1)
25public override void ShowDialog(PropertyValue propertyValue, IInputElement commandSource)
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
296Keyboard.Focus(selectedModelItems[0].View as IInputElement);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
1026IInputElement viewToFocus = item == null ? null : item.View as IInputElement;