2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2560
_swh
= new SourceWindowHelper(source);
6945
_swh
= null;
46 references to _swh
PresentationFramework (46)
System\Windows\Window.cs (46)
2148
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2155
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2299
if (
_swh
!= null )
2301
return
_swh
.IsSourceWindowNull;
2311
if (
_swh
!= null)
2313
return
_swh
.IsCompositionTargetInvalid;
2323
Debug.Assert(
_swh
!= null );
2324
return
_swh
.WorkAreaBoundsForNearestMonitor;
2332
Debug.Assert(
_swh
!= null );
2333
return
_swh
.WindowSize;
2345
if (
_swh
!= null )
2346
return
_swh
.HwndSourceWindow;
2595
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2607
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2608
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2682
_Style =
_swh
.StyleFromHwnd;
2917
_swh
.RootVisual = this;
3220
if (
_swh
!= null)
3222
return
_swh
.CriticalHandle;
3293
return
_swh
.StyleFromHwnd;
3317
return
_swh
.StyleExFromHwnd;
3452
return
_swh
.GetSizeFromHwndInMeasureUnits();
4297
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4491
wasActive =
_swh
.IsActiveWindow;
6913
if (
_swh
!= null)
6915
_swh
.ClearRootVisual();
6922
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6931
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6936
if (
_swh
!= null)
6940
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6944
HwndSource source =
_swh
.HwndSourceWindow;
7067
if (
_swh
!= null)
7117
if (
_swh
!= null)
7129
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7139
if (
_swh
!= null)
7142
_swh
.EndPanningFeedback(animateBack);
7153
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7176
return
_swh
.HwndSourceSizeToContent;
7180
_swh
.HwndSourceSizeToContent = value;
7188
Debug.Assert(
_swh
!= null );
7189
return
_swh
.WindowBounds;
7197
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7205
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;