17 references to Element
PresentationCore (17)
System\Windows\Input\Stylus\Common\StylusPlugin.cs (3)
192
return _pic?.
Element
;
221
_pic?.
Element
.VerifyAccess();
230
using (_pic.
Element
.Dispatcher.DisableProcessing())
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (7)
76
DependencyObject spicAddingVisual = spicAdding.
Element
as Visual;
82
DependencyObject curV = _plugInCollectionList[i].
Element
as Visual;
88
curV = _plugInCollectionList[i].
Element
as Visual;
183
if (plugInCollection.
Element
== element ||
184
(plugInCollection.
Element
as Visual).IsAncestorOf(element as Visual))
510
if (_activeMousePlugInCollection?.
Element
== null)
534
source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.
Element
as Visual);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (5)
274
DependencyObject spicAddingVisual = spicAdding.
Element
as Visual;
280
DependencyObject curV = _plugInCollectionList[i].
Element
as Visual;
286
curV = _plugInCollectionList[i].
Element
as Visual;
508
if (plugInCollection.
Element
== element ||
509
(plugInCollection.
Element
as Visual).IsAncestorOf(element as Visual))
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1827
if (_activeMousePlugInCollection == null || _activeMousePlugInCollection.
Element
== null)
1851
source = PresentationSource.CriticalFromVisual(_activeMousePlugInCollection.
Element
as Visual);