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