20 references to IsDisposed
PresentationCore (20)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (1)
42
if (throwOnError || (presentationSource != null && presentationSource.CompositionTarget != null && !presentationSource.CompositionTarget.
IsDisposed
))
System\Windows\Input\MouseDevice.cs (1)
880
if (activeSource != null && activeSource.CompositionTarget != null && !activeSource.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
610
if (InRange && _inputSource?.CompositionTarget is { } target && !target.
IsDisposed
)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
585
!source.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
442
!_deferredMouseMove.InputSource.CompositionTarget.
IsDisposed
)
1904
!source.CompositionTarget.
IsDisposed
)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
319
if (InRange && _inputSource?.CompositionTarget is { } target && !target.
IsDisposed
)
1504
if (inputSource.CompositionTarget == null || inputSource.CompositionTarget.
IsDisposed
||
1517
!capturedSource.CompositionTarget.
IsDisposed
)
System\Windows\Input\TouchDevice.cs (1)
744
!_activeSource.CompositionTarget.
IsDisposed
)
System\Windows\InterOp\HwndSource.cs (7)
580
if (_hwndTarget != null && _hwndTarget.
IsDisposed
== false)
590
if (_hwndTarget != null && !_hwndTarget.
IsDisposed
)
634
if (value != null && _hwndTarget != null && !_hwndTarget.
IsDisposed
&&
705
if (_hwndTarget!= null && _hwndTarget.
IsDisposed
== true)
1005
if ((_rootVisual is UIElement) && _hwndTarget!= null && _hwndTarget.
IsDisposed
== false)
1020
Debug.Assert(_hwndTarget.
IsDisposed
== false, "HwndTarget is disposed");
2645
_hwndTarget.
IsDisposed
== false;
System\Windows\InterOp\HwndTarget.cs (2)
683
if (!
IsDisposed
)
1014
if (
IsDisposed
)
System\Windows\Media\VisualTarget.cs (1)
158
if (!
IsDisposed
)