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