1 write to _element
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
238
_element
= element;
37 references to _element
PresentationCore (37)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (37)
43
_element
.VerifyAccess();
80
_stylusPlugInCollectionImpl.UpdateState(
_element
); // Add to PenContexts if element is in proper state (can fire isactiveforinput).
93
_element
.VerifyAccess();
131
_element
.VerifyAccess();
177
_element
.VerifyAccess();
255
return
_element
;
266
if (
_element
.IsArrangeValid &&
_element
.IsEnabled &&
_element
.IsVisible &&
_element
.IsHitTestVisible)
268
_rc = new Rect(new Point(),
_element
.RenderSize);// _element.GetContentBoundingBox();
269
Visual root = VisualTreeHelper.GetContainingVisual2D(InputElement.GetRootVisual(
_element
));
273
_viewToElement = root.TransformToDescendant(
_element
);
431
if (_lastRenderTransform !=
_element
.RenderTransform)
439
_lastRenderTransform =
_element
.RenderTransform;
499
using (
_element
.Dispatcher.DisableProcessing())
525
_element
.IsEnabledChanged += _isEnabledChangedEventHandler;
526
_element
.IsVisibleChanged += _isVisibleChangedEventHandler;
527
_element
.IsHitTestVisibleChanged += _isHitTestVisibleChangedEventHandler;
528
PresentationSource.AddSourceChangedHandler(
_element
, _sourceChangedEventHandler); // has a security linkdemand
529
_element
.LayoutUpdated += _layoutChangedEventHandler;
531
if (
_element
.RenderTransform != null &&
532
!
_element
.RenderTransform.IsFrozen)
537
_element
.RenderTransform.Changed += _renderTransformChangedEventHandler;
552
_element
.IsEnabledChanged -= _isEnabledChangedEventHandler;
553
_element
.IsVisibleChanged -= _isVisibleChangedEventHandler;
554
_element
.IsHitTestVisibleChanged -= _isHitTestVisibleChangedEventHandler;
557
_element
.RenderTransform.Changed -= _renderTransformChangedEventHandler;
559
PresentationSource.RemoveSourceChangedHandler(
_element
, _sourceChangedEventHandler);
560
_element
.LayoutUpdated -= _layoutChangedEventHandler;
574
System.Diagnostics.Debug.Assert(
_element
.IsEnabled == (bool)e.NewValue);
575
_stylusPlugInCollectionImpl.UpdateState(
_element
);
580
System.Diagnostics.Debug.Assert(
_element
.IsVisible == (bool)e.NewValue);
581
_stylusPlugInCollectionImpl.UpdateState(
_element
);
586
System.Diagnostics.Debug.Assert(
_element
.IsHitTestVisible == (bool)e.NewValue);
587
_stylusPlugInCollectionImpl.UpdateState(
_element
);
598
_stylusPlugInCollectionImpl.UpdateState(
_element
);