13 references to IsDisposed
PresentationCore (13)
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
979
if (activeSource != null && activeSource.CompositionTarget != null && !activeSource.CompositionTarget.
IsDisposed
)
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
813
!_activeSource.CompositionTarget.
IsDisposed
)
Core\CSharp\System\Windows\Interop\HwndSource.cs (7)
676
if (_hwndTarget != null && _hwndTarget.
IsDisposed
== false)
686
if (_hwndTarget != null && !_hwndTarget.
IsDisposed
)
733
if (value != null && _hwndTarget != null && !_hwndTarget.
IsDisposed
&&
823
if (_hwndTarget!= null && _hwndTarget.
IsDisposed
== true)
1211
if ((_rootVisual.Value is UIElement) && _hwndTarget!= null && _hwndTarget.
IsDisposed
== false)
1232
Debug.Assert(_hwndTarget.
IsDisposed
== false, "HwndTarget is disposed");
3035
_hwndTarget.
IsDisposed
== false;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (2)
757
if (!
IsDisposed
)
1113
if (
IsDisposed
)
Core\CSharp\System\Windows\Media\VisualTarget.cs (1)
175
if (!
IsDisposed
)
Shared\MS\Internal\PointUtil.cs (1)
49
if (throwOnError || (presentationSource != null && presentationSource.CompositionTarget != null && !presentationSource.CompositionTarget.
IsDisposed
))