2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2530
_swh
= new SourceWindowHelper(source);
6910
_swh
= null;
44 references to _swh
PresentationFramework (44)
System\Windows\Window.cs (44)
2121
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2128
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2270
if (
_swh
!= null )
2272
return
_swh
.IsSourceWindowNull;
2282
if (
_swh
!= null)
2284
return
_swh
.IsCompositionTargetInvalid;
2294
Debug.Assert(
_swh
!= null );
2295
return
_swh
.WorkAreaBoundsForNearestMonitor;
2303
Debug.Assert(
_swh
!= null );
2304
return
_swh
.WindowSize;
2316
if (
_swh
!= null )
2317
return
_swh
.HwndSourceWindow;
2565
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2577
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2578
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2654
_Style =
_swh
.StyleFromHwnd;
2889
_swh
.RootVisual = this;
3192
if (
_swh
!= null)
3194
return
_swh
.Handle;
3265
return
_swh
.StyleFromHwnd;
3289
return
_swh
.StyleExFromHwnd;
3426
return
_swh
.GetSizeFromHwndInMeasureUnits();
4267
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4458
wasActive =
_swh
.IsActiveWindow;
6881
_swh
?.ClearRootVisual();
6887
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6896
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6901
if (
_swh
!= null)
6905
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6909
HwndSource source =
_swh
.HwndSourceWindow;
7032
if (
_swh
!= null)
7076
if (
_swh
!= null)
7088
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7099
_swh
?.EndPanningFeedback(animateBack);
7109
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7132
return
_swh
.HwndSourceSizeToContent;
7136
_swh
.HwndSourceSizeToContent = value;
7144
Debug.Assert(
_swh
!= null );
7145
return
_swh
.WindowBounds;
7153
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7161
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;