5 writes to _viewport
PresentationFramework (5)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
10418
_scrollData.
_viewport
= viewportSize;
10921
_scrollData.
_viewport
= viewportSize;
11765
_viewport
= _extent = _maxDesiredSize = new Size();
11835
_viewport
= value;
12996
s._scrollData.
_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;
1536
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData.
_viewport
.Width);
1537
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData.
_viewport
.Height);
1890
return _scrollData.
_viewport
.Width;
1902
return _scrollData.
_viewport
.Height;
4334
viewportSize = _scrollData.
_viewport
;
9869
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10016
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10022
"vpSz:", _scrollData.
_viewport
.Width, viewportSize.Width,
10032
viewportSize.Width = _scrollData.
_viewport
.Width;
10233
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10239
"vpSz:", _scrollData.
_viewport
.Height, viewportSize.Height,
10249
viewportSize.Height = _scrollData.
_viewport
.Height;
10401
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10409
"vp:", _scrollData.
_viewport
, viewportSize);
10416
Size oldViewportSize = _scrollData.
_viewport
;
10597
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10689
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10697
viewportSize.Width = _scrollData.
_viewport
.Width;
10820
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10828
viewportSize.Height = _scrollData.
_viewport
.Height;
10913
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10919
Size oldViewportSize = _scrollData.
_viewport
;
11216
viewportSize = (int)_scrollData.
_viewport
.Width;
11221
viewportSize = (int)_scrollData.
_viewport
.Height;
11775
_viewport
.Width == 0.0 &&
11776
_viewport
.Height == 0.0 &&
11831
return
_viewport
;
11872
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width -
_viewport
.Width))
11876
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Width))
11888
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height -
_viewport
.Height))
11892
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Height))
12996
s._scrollData._viewport = _scrollData.
_viewport
;