17 references to Element
PresentationCore (17)
System\Windows\Input\Stylus\Common\StylusPlugin.cs (3)
193return (_pic != null) ? _pic.Element : null; 224_pic.Element.VerifyAccess(); 234using (_pic.Element.Dispatcher.DisableProcessing())
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (7)
77DependencyObject spicAddingVisual = spicAdding.Element as Visual; 83DependencyObject curV = _plugInCollectionList[i].Element as Visual; 89curV = _plugInCollectionList[i].Element as Visual; 184if (plugInCollection.Element == element || 185(plugInCollection.Element as Visual).IsAncestorOf(element as Visual)) 511if (_activeMousePlugInCollection?.Element == null) 535source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.Element as Visual);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (5)
275DependencyObject spicAddingVisual = spicAdding.Element as Visual; 281DependencyObject curV = _plugInCollectionList[i].Element as Visual; 287curV = _plugInCollectionList[i].Element as Visual; 509if (plugInCollection.Element == element || 510(plugInCollection.Element as Visual).IsAncestorOf(element as Visual))
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1815if (_activeMousePlugInCollection == null || _activeMousePlugInCollection.Element == null) 1839source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.Element as Visual);