2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2538
_swh
= new SourceWindowHelper(source);
6930
_swh
= null;
46 references to _swh
PresentationFramework (46)
System\Windows\Window.cs (46)
2129
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2136
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2278
if (
_swh
!= null )
2280
return
_swh
.IsSourceWindowNull;
2290
if (
_swh
!= null)
2292
return
_swh
.IsCompositionTargetInvalid;
2302
Debug.Assert(
_swh
!= null );
2303
return
_swh
.WorkAreaBoundsForNearestMonitor;
2311
Debug.Assert(
_swh
!= null );
2312
return
_swh
.WindowSize;
2324
if (
_swh
!= null )
2325
return
_swh
.HwndSourceWindow;
2573
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2585
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2586
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2662
_Style =
_swh
.StyleFromHwnd;
2897
_swh
.RootVisual = this;
3200
if (
_swh
!= null)
3202
return
_swh
.Handle;
3273
return
_swh
.StyleFromHwnd;
3297
return
_swh
.StyleExFromHwnd;
3434
return
_swh
.GetSizeFromHwndInMeasureUnits();
4278
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4472
wasActive =
_swh
.IsActiveWindow;
6898
if (
_swh
!= null)
6900
_swh
.ClearRootVisual();
6907
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6916
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6921
if (
_swh
!= null)
6925
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6929
HwndSource source =
_swh
.HwndSourceWindow;
7052
if (
_swh
!= null)
7102
if (
_swh
!= null)
7114
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7124
if (
_swh
!= null)
7127
_swh
.EndPanningFeedback(animateBack);
7138
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7161
return
_swh
.HwndSourceSizeToContent;
7165
_swh
.HwndSourceSizeToContent = value;
7173
Debug.Assert(
_swh
!= null );
7174
return
_swh
.WindowBounds;
7182
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7190
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;