2 writes to _swh
PresentationFramework (2)
src\Framework\System\Windows\Window.cs (2)
2625_swh = new SourceWindowHelper(source); 7259_swh = null;
46 references to _swh
PresentationFramework (46)
src\Framework\System\Windows\Window.cs (46)
2187Point ptLogicalUnits = _swh.CompositionTarget.TransformFromDevice.Transform(ptDeviceUnits); 2199Point ptDeviceUnits = _swh.CompositionTarget.TransformToDevice.Transform(ptLogicalUnits); 2342if ( _swh != null ) 2344return _swh.IsSourceWindowNull; 2360if (_swh != null) 2362return _swh.IsCompositionTargetInvalid; 2372Debug.Assert( _swh != null ); 2373return _swh.WorkAreaBoundsForNearestMonitor; 2381Debug.Assert( _swh != null ); 2382return _swh.WindowSize; 2400if ( _swh != null ) 2401return _swh.HwndSourceWindow; 2661_swh.AddDisposedHandler ( new EventHandler(OnSourceWindowDisposed) ); 2673UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.CriticalHandle, WM_TASKBARBUTTONCREATED, MSGFLT.ALLOW, out info); 2674UnsafeNativeMethods.ChangeWindowMessageFilterEx(_swh.CriticalHandle, WindowMessage.WM_COMMAND, MSGFLT.ALLOW, out info); 2721_Style = _swh.StyleFromHwnd; 2967_swh.RootVisual = this; 3261if (_swh != null) 3263return _swh.CriticalHandle; 3348return _swh.StyleFromHwnd; 3380return _swh.StyleExFromHwnd; 3504return _swh.GetSizeFromHwndInMeasureUnits(); 4417if(_swh != null && _swh.CompositionTarget != null) // For extraneous messages during shutdown 4625wasActive = _swh.IsActiveWindow; 7222if (_swh != null) 7224_swh.ClearRootVisual(); 7231return _swh.GetPointRelativeToWindow( x, y, this.FlowDirection); 7240return AllowsTransparency ? new Size(0, 0) : _swh.GetHwndNonClientAreaSizeInMeasureUnits(); 7250if (_swh != null) 7254_swh.RemoveDisposedHandler(OnSourceWindowDisposed); 7258HwndSource source = _swh.HwndSourceWindow; 7391if (_swh != null) 7447if (_swh != null) 7459_swh.UpdatePanningFeedback(totalOverpanOffset, false); 7475if (_swh != null) 7478_swh.EndPanningFeedback(animateBack); 7489if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (_swh != null)) 7512return _swh.HwndSourceSizeToContent; 7516_swh.HwndSourceSizeToContent = value; 7524Debug.Assert( _swh != null ); 7525return _swh.WindowBounds; 7533return _swh != null ? _swh.StyleFromHwnd : 0; 7541return _swh != null ? _swh.StyleExFromHwnd : 0;