17 references to Element
PresentationCore (17)
System\Windows\Input\Stylus\Common\StylusPlugin.cs (3)
205return (_pic != null) ? _pic.Element : null; 236_pic.Element.VerifyAccess(); 246using (_pic.Element.Dispatcher.DisableProcessing())
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (7)
89DependencyObject spicAddingVisual = spicAdding.Element as Visual; 95DependencyObject curV = _plugInCollectionList[i].Element as Visual; 101curV = _plugInCollectionList[i].Element as Visual; 196if (plugInCollection.Element == element || 197(plugInCollection.Element as Visual).IsAncestorOf(element as Visual)) 523if (_activeMousePlugInCollection?.Element == null) 547source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.Element as Visual);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (5)
297DependencyObject spicAddingVisual = spicAdding.Element as Visual; 303DependencyObject curV = _plugInCollectionList[i].Element as Visual; 309curV = _plugInCollectionList[i].Element as Visual; 531if (plugInCollection.Element == element || 532(plugInCollection.Element as Visual).IsAncestorOf(element as Visual))
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1824if (_activeMousePlugInCollection == null || _activeMousePlugInCollection.Element == null) 1848source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.Element as Visual);