2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2531
_swh
= new SourceWindowHelper(source);
6911
_swh
= null;
44 references to _swh
PresentationFramework (44)
System\Windows\Window.cs (44)
2122
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2129
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2271
if (
_swh
!= null )
2273
return
_swh
.IsSourceWindowNull;
2283
if (
_swh
!= null)
2285
return
_swh
.IsCompositionTargetInvalid;
2295
Debug.Assert(
_swh
!= null );
2296
return
_swh
.WorkAreaBoundsForNearestMonitor;
2304
Debug.Assert(
_swh
!= null );
2305
return
_swh
.WindowSize;
2317
if (
_swh
!= null )
2318
return
_swh
.HwndSourceWindow;
2566
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2578
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2579
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2655
_Style =
_swh
.StyleFromHwnd;
2890
_swh
.RootVisual = this;
3193
if (
_swh
!= null)
3195
return
_swh
.Handle;
3266
return
_swh
.StyleFromHwnd;
3290
return
_swh
.StyleExFromHwnd;
3427
return
_swh
.GetSizeFromHwndInMeasureUnits();
4268
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4459
wasActive =
_swh
.IsActiveWindow;
6882
_swh
?.ClearRootVisual();
6888
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6897
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6902
if (
_swh
!= null)
6906
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6910
HwndSource source =
_swh
.HwndSourceWindow;
7033
if (
_swh
!= null)
7077
if (
_swh
!= null)
7089
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7100
_swh
?.EndPanningFeedback(animateBack);
7110
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7133
return
_swh
.HwndSourceSizeToContent;
7137
_swh
.HwndSourceSizeToContent = value;
7145
Debug.Assert(
_swh
!= null );
7146
return
_swh
.WindowBounds;
7154
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7162
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;