2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2467
_swh
= new SourceWindowHelper(source);
6827
_swh
= null;
46 references to _swh
PresentationFramework (46)
System\Windows\Window.cs (46)
2076
Point ptLogicalUnits =
_swh
.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits);
2083
Point ptDeviceUnits =
_swh
.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits);
2211
if (
_swh
!= null )
2213
return
_swh
.IsSourceWindowNull;
2223
if (
_swh
!= null)
2225
return
_swh
.IsCompositionTargetInvalid;
2235
Debug.Assert(
_swh
!= null );
2236
return
_swh
.WorkAreaBoundsForNearestMonitor;
2244
Debug.Assert(
_swh
!= null );
2245
return
_swh
.WindowSize;
2257
if (
_swh
!= null )
2258
return
_swh
.HwndSourceWindow;
2502
_swh
.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) );
2514
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info);
2515
UnsafeNativeMethods.ChangeWindowMessageFilterEx(
_swh
.CriticalHandle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info);
2564
_Style =
_swh
.StyleFromHwnd;
2799
_swh
.RootVisual = this;
3102
if (
_swh
!= null)
3104
return
_swh
.CriticalHandle;
3175
return
_swh
.StyleFromHwnd;
3199
return
_swh
.StyleExFromHwnd;
3321
return
_swh
.GetSizeFromHwndInMeasureUnits();
4179
if(
_swh
!= null &&
_swh
.CompositionTarget != null) // For extraneous messages during shutdown
4373
wasActive =
_swh
.IsActiveWindow;
6795
if (
_swh
!= null)
6797
_swh
.ClearRootVisual();
6804
return
_swh
.GetPointRelativeToWindow( x, y, this.FlowDirection);
6813
return AllowsTransparency ? new Size(0, 0) :
_swh
.GetHwndNonClientAreaSizeInMeasureUnits();
6818
if (
_swh
!= null)
6822
_swh
.RemoveDisposedHandler(OnSourceWindowDisposed);
6826
HwndSource source =
_swh
.HwndSourceWindow;
6949
if (
_swh
!= null)
6999
if (
_swh
!= null)
7011
_swh
.UpdatePanningFeedback(totalOverpanOffset, false);
7021
if (
_swh
!= null)
7024
_swh
.EndPanningFeedback(animateBack);
7035
if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (
_swh
!= null))
7058
return
_swh
.HwndSourceSizeToContent;
7062
_swh
.HwndSourceSizeToContent = value;
7070
Debug.Assert(
_swh
!= null );
7071
return
_swh
.WindowBounds;
7079
return
_swh
!= null ?
_swh
.StyleFromHwnd : 0;
7087
return
_swh
!= null ?
_swh
.StyleExFromHwnd : 0;