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