2 writes to _swh
PresentationFramework (2)
System\Windows\Window.cs (2)
2531_swh = new SourceWindowHelper(source); 6911_swh = null;
44 references to _swh
PresentationFramework (44)
System\Windows\Window.cs (44)
2122Point ptLogicalUnits = _swh.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits); 2129Point ptDeviceUnits = _swh.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits); 2271if ( _swh != null ) 2273return _swh.IsSourceWindowNull; 2283if (_swh != null) 2285return _swh.IsCompositionTargetInvalid; 2295Debug.Assert( _swh != null ); 2296return _swh.WorkAreaBoundsForNearestMonitor; 2304Debug.Assert( _swh != null ); 2305return _swh.WindowSize; 2317if ( _swh != null ) 2318return _swh.HwndSourceWindow; 2566_swh.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) ); 2578UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.Handle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info); 2579UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.Handle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info); 2655_Style = _swh.StyleFromHwnd; 2890_swh.RootVisual = this; 3193if (_swh != null) 3195return _swh.Handle; 3266return _swh.StyleFromHwnd; 3290return _swh.StyleExFromHwnd; 3427return _swh.GetSizeFromHwndInMeasureUnits(); 4268if(_swh != null && _swh.CompositionTarget != null) // For extraneous messages during shutdown 4459wasActive = _swh.IsActiveWindow; 6882_swh?.ClearRootVisual(); 6888return _swh.GetPointRelativeToWindow( x, y, this.FlowDirection); 6897return AllowsTransparency ? new Size(0, 0) : _swh.GetHwndNonClientAreaSizeInMeasureUnits(); 6902if (_swh != null) 6906_swh.RemoveDisposedHandler(OnSourceWindowDisposed); 6910HwndSource source = _swh.HwndSourceWindow; 7033if (_swh != null) 7077if (_swh != null) 7089_swh.UpdatePanningFeedback(totalOverpanOffset, false); 7100_swh?.EndPanningFeedback(animateBack); 7110if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (_swh != null)) 7133return _swh.HwndSourceSizeToContent; 7137_swh.HwndSourceSizeToContent = value; 7145Debug.Assert( _swh != null ); 7146return _swh.WindowBounds; 7154return _swh != null ? _swh.StyleFromHwnd : 0; 7162return _swh != null ? _swh.StyleExFromHwnd : 0;