2 writes to _swh
PresentationFramework (2)
src\Framework\System\Windows\Window.cs (2)
2625
_swh
= new SourceWindowHelper(source);
7259
_swh
= null;
46 references to _swh
PresentationFramework (46)
src\Framework\System\Windows\Window.cs (46)
2187
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2199
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2342
if (
_swh
!= null )
2344
return
_swh
.IsSourceWindowNull;
2360
if (
_swh
!= null)
2362
return
_swh
.IsCompositionTargetInvalid;
2372
Debug.Assert(
_swh
!= null );
2373
return
_swh
.WorkAreaBoundsForNearestMonitor;
2381
Debug.Assert(
_swh
!= null );
2382
return
_swh
.WindowSize;
2400
if (
_swh
!= null )
2401
return
_swh
.HwndSourceWindow;
2661
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2673
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2674
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2721
_Style =
_swh
.StyleFromHwnd;
2967
_swh
.RootVisual = this;
3261
if (
_swh
!= null)
3263
return
_swh
.CriticalHandle;
3348
return
_swh
.StyleFromHwnd;
3380
return
_swh
.StyleExFromHwnd;
3504
return
_swh
.GetSizeFromHwndInMeasureUnits();
4417
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4625
wasActive =
_swh
.IsActiveWindow;
7222
if (
_swh
!= null)
7224
_swh
.ClearRootVisual();
7231
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
7240
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
7250
if (
_swh
!= null)
7254
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
7258
HwndSource source =
_swh
.HwndSourceWindow;
7391
if (
_swh
!= null)
7447
if (
_swh
!= null)
7459
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7475
if (
_swh
!= null)
7478
_swh
.EndPanningFeedback(animateBack);
7489
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7512
return
_swh
.HwndSourceSizeToContent;
7516
_swh
.HwndSourceSizeToContent = value;
7524
Debug.Assert(
_swh
!= null );
7525
return
_swh
.WindowBounds;
7533
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7541
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;