2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2527
_swh
= new SourceWindowHelper(source);
6904
_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;
2562
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2574
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2575
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2651
_Style =
_swh
.StyleFromHwnd;
2886
_swh
.RootVisual = this;
3189
if (
_swh
!= null)
3191
return
_swh
.Handle;
3262
return
_swh
.StyleFromHwnd;
3286
return
_swh
.StyleExFromHwnd;
3423
return
_swh
.GetSizeFromHwndInMeasureUnits();
4264
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4452
wasActive =
_swh
.IsActiveWindow;
6875
_swh
?.ClearRootVisual();
6881
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6890
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6895
if (
_swh
!= null)
6899
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6903
HwndSource source =
_swh
.HwndSourceWindow;
7026
if (
_swh
!= null)
7070
if (
_swh
!= null)
7082
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7093
_swh
?.EndPanningFeedback(animateBack);
7103
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7126
return
_swh
.HwndSourceSizeToContent;
7130
_swh
.HwndSourceSizeToContent = value;
7138
Debug.Assert(
_swh
!= null );
7139
return
_swh
.WindowBounds;
7147
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7155
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;