1 write to _element
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
229
_element
= element;
37 references to _element
PresentationCore (37)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (37)
34
_element
.VerifyAccess();
71
_stylusPlugInCollectionImpl.UpdateState(
_element
); // Add to PenContexts if element is in proper state (can fire isactiveforinput).
84
_element
.VerifyAccess();
122
_element
.VerifyAccess();
168
_element
.VerifyAccess();
246
return
_element
;
257
if (
_element
.IsArrangeValid &&
_element
.IsEnabled &&
_element
.IsVisible &&
_element
.IsHitTestVisible)
259
_rc = new Rect(new Point(),
_element
.RenderSize);// _element.GetContentBoundingBox();
260
Visual root = VisualTreeHelper.GetContainingVisual2D(InputElement.GetRootVisual(
_element
));
264
_viewToElement = root.TransformToDescendant(
_element
);
422
if (_lastRenderTransform !=
_element
.RenderTransform)
430
_lastRenderTransform =
_element
.RenderTransform;
490
using (
_element
.Dispatcher.DisableProcessing())
516
_element
.IsEnabledChanged += _isEnabledChangedEventHandler;
517
_element
.IsVisibleChanged += _isVisibleChangedEventHandler;
518
_element
.IsHitTestVisibleChanged += _isHitTestVisibleChangedEventHandler;
519
PresentationSource.AddSourceChangedHandler(
_element
, _sourceChangedEventHandler); // has a security linkdemand
520
_element
.LayoutUpdated += _layoutChangedEventHandler;
522
if (
_element
.RenderTransform != null &&
523
!
_element
.RenderTransform.IsFrozen)
528
_element
.RenderTransform.Changed += _renderTransformChangedEventHandler;
543
_element
.IsEnabledChanged -= _isEnabledChangedEventHandler;
544
_element
.IsVisibleChanged -= _isVisibleChangedEventHandler;
545
_element
.IsHitTestVisibleChanged -= _isHitTestVisibleChangedEventHandler;
548
_element
.RenderTransform.Changed -= _renderTransformChangedEventHandler;
550
PresentationSource.RemoveSourceChangedHandler(
_element
, _sourceChangedEventHandler);
551
_element
.LayoutUpdated -= _layoutChangedEventHandler;
565
System.Diagnostics.Debug.Assert(
_element
.IsEnabled == (bool)e.NewValue);
566
_stylusPlugInCollectionImpl.UpdateState(
_element
);
571
System.Diagnostics.Debug.Assert(
_element
.IsVisible == (bool)e.NewValue);
572
_stylusPlugInCollectionImpl.UpdateState(
_element
);
577
System.Diagnostics.Debug.Assert(
_element
.IsHitTestVisible == (bool)e.NewValue);
578
_stylusPlugInCollectionImpl.UpdateState(
_element
);
589
_stylusPlugInCollectionImpl.UpdateState(
_element
);