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)
66
SetVerticalOffset(owner, _offset.Y -
_viewport
.Height);
74
SetVerticalOffset(owner, _offset.Y +
_viewport
.Height);
82
SetHorizontalOffset(owner, _offset.X -
_viewport
.Width);
90
SetHorizontalOffset(owner, _offset.X +
_viewport
.Width);
135
offset = Math.Max(0, Math.Min(_extent.Width -
_viewport
.Width, offset));
157
offset = Math.Max(0, Math.Min(_extent.Height -
_viewport
.Height, offset));
188
Rect viewport = new Rect(_offset.X, _offset.Y,
_viewport
.Width,
_viewport
.Height);
328
return
_viewport
.Width;
339
return
_viewport
.Height;
409
return
_viewport
;