5 writes to _viewport
PresentationFramework (5)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
10420
_scrollData.
_viewport
= viewportSize;
10923
_scrollData.
_viewport
= viewportSize;
11767
_viewport
= _extent = _maxDesiredSize = new Size();
11837
_viewport
= value;
12992
_viewport
= _scrollData._viewport
38 references to _viewport
PresentationFramework (38)
System\Windows\Controls\VirtualizingStackPanel.cs (38)
570
_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData._extent.Width, _scrollData.
_viewport
.Width);
698
_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData._extent.Height, _scrollData.
_viewport
.Height);
933
maxOffset = _scrollData._extent.Width - _scrollData.
_viewport
.Width;
938
maxOffset = _scrollData._extent.Height - _scrollData.
_viewport
.Height;
982
maxOffset = _scrollData._extent.Width - _scrollData.
_viewport
.Width;
1012
maxOffset = _scrollData._extent.Height - _scrollData.
_viewport
.Height;
1532
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData.
_viewport
.Width);
1533
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData.
_viewport
.Height);
1886
return _scrollData.
_viewport
.Width;
1898
return _scrollData.
_viewport
.Height;
4332
viewportSize = _scrollData.
_viewport
;
9871
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10018
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10024
"vpSz:", _scrollData.
_viewport
.Width, viewportSize.Width,
10034
viewportSize.Width = _scrollData.
_viewport
.Width;
10235
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10241
"vpSz:", _scrollData.
_viewport
.Height, viewportSize.Height,
10251
viewportSize.Height = _scrollData.
_viewport
.Height;
10403
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10411
"vp:", _scrollData.
_viewport
, viewportSize);
10418
Size oldViewportSize = _scrollData.
_viewport
;
10599
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10691
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10699
viewportSize.Width = _scrollData.
_viewport
.Width;
10822
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10830
viewportSize.Height = _scrollData.
_viewport
.Height;
10915
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10921
Size oldViewportSize = _scrollData.
_viewport
;
11218
viewportSize = (int)_scrollData.
_viewport
.Width;
11223
viewportSize = (int)_scrollData.
_viewport
.Height;
11777
_viewport
.Width == 0.0 &&
11778
_viewport
.Height == 0.0 &&
11833
return
_viewport
;
11874
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width -
_viewport
.Width))
11878
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Width))
11890
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height -
_viewport
.Height))
11894
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Height))
12992
_viewport = _scrollData.
_viewport