2 writes to _viewport
PresentationFramework (2)
MS\Internal\Documents\ScrollData.cs (2)
241_viewport = new Size(); 414_viewport = value;
11 references to _viewport
PresentationFramework (11)
MS\Internal\Documents\ScrollData.cs (11)
66SetVerticalOffset(owner, _offset.Y - _viewport.Height); 74SetVerticalOffset(owner, _offset.Y + _viewport.Height); 82SetHorizontalOffset(owner, _offset.X - _viewport.Width); 90SetHorizontalOffset(owner, _offset.X + _viewport.Width); 135offset = Math.Max(0, Math.Min(_extent.Width - _viewport.Width, offset)); 157offset = Math.Max(0, Math.Min(_extent.Height - _viewport.Height, offset)); 188Rect viewport = new Rect(_offset.X, _offset.Y, _viewport.Width, _viewport.Height); 328return _viewport.Width; 339return _viewport.Height; 409return _viewport;