18 references to IsDisposed
PresentationCore (18)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (1)
46
if (throwOnError || (presentationSource != null && presentationSource.CompositionTarget != null && !presentationSource.CompositionTarget.
IsDisposed
))
System\Windows\Input\MouseDevice.cs (1)
917
if (activeSource != null && activeSource.CompositionTarget != null && !activeSource.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
597
!source.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
448
!_deferredMouseMove.InputSource.CompositionTarget.
IsDisposed
)
1900
!source.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1535
if (inputSource.CompositionTarget == null || inputSource.CompositionTarget.
IsDisposed
||
1548
!capturedSource.CompositionTarget.
IsDisposed
)
System\Windows\Input\TouchDevice.cs (1)
756
!_activeSource.CompositionTarget.
IsDisposed
)
System\Windows\InterOp\HwndSource.cs (7)
587
if (_hwndTarget != null && _hwndTarget.
IsDisposed
== false)
597
if (_hwndTarget != null && !_hwndTarget.
IsDisposed
)
644
if (value != null && _hwndTarget != null && !_hwndTarget.
IsDisposed
&&
715
if (_hwndTarget!= null && _hwndTarget.
IsDisposed
== true)
1027
if ((_rootVisual.Value is UIElement) && _hwndTarget!= null && _hwndTarget.
IsDisposed
== false)
1042
Debug.Assert(_hwndTarget.
IsDisposed
== false, "HwndTarget is disposed");
2677
_hwndTarget.
IsDisposed
== false;
System\Windows\InterOp\HwndTarget.cs (2)
689
if (!
IsDisposed
)
1020
if (
IsDisposed
)
System\Windows\Media\VisualTarget.cs (1)
163
if (!
IsDisposed
)