2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2521_swh = new SourceWindowHelper(source); 6898_swh = null;
44 references to _swh
PresentationFramework (44)
System\Windows\Window.cs (44)
2115Point ptLogicalUnits = _swh.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits); 2122Point ptDeviceUnits = _swh.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits); 2264if ( _swh != null ) 2266return _swh.IsSourceWindowNull; 2276if (_swh != null) 2278return _swh.IsCompositionTargetInvalid; 2288Debug.Assert( _swh != null ); 2289return _swh.WorkAreaBoundsForNearestMonitor; 2297Debug.Assert( _swh != null ); 2298return _swh.WindowSize; 2310if ( _swh != null ) 2311return _swh.HwndSourceWindow; 2556_swh.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) ); 2568UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info); 2569UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info); 2645_Style = _swh.StyleFromHwnd; 2880_swh.RootVisual = this; 3183if (_swh != null) 3185return _swh.Handle; 3256return _swh.StyleFromHwnd; 3280return _swh.StyleExFromHwnd; 3417return _swh.GetSizeFromHwndInMeasureUnits(); 4258if(_swh != null && _swh.CompositionTarget != null) // For extraneous messages during shutdown 4446wasActive = _swh.IsActiveWindow; 6869_swh?.ClearRootVisual(); 6875return _swh.GetPointRelativeToWindow( x, y, this.FlowDirection); 6884return AllowsTransparency ? new Size(0, 0) : _swh.GetHwndNonClientAreaSizeInMeasureUnits(); 6889if (_swh != null) 6893_swh.RemoveDisposedHandler(OnSourceWindowDisposed); 6897HwndSource source = _swh.HwndSourceWindow; 7017if (_swh != null) 7061if (_swh != null) 7073_swh.UpdatePanningFeedback(totalOverpanOffset, false); 7084_swh?.EndPanningFeedback(animateBack); 7094if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (_swh != null)) 7117return _swh.HwndSourceSizeToContent; 7121_swh.HwndSourceSizeToContent = value; 7129Debug.Assert( _swh != null ); 7130return _swh.WindowBounds; 7138return _swh != null ? _swh.StyleFromHwnd : 0; 7146return _swh != null ? _swh.StyleExFromHwnd : 0;