5 writes to _viewport
PresentationFramework (5)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
10423
_scrollData.
_viewport
= viewportSize;
10926
_scrollData.
_viewport
= viewportSize;
11770
_viewport
= _extent = _maxDesiredSize = new Size();
11840
_viewport
= value;
13001
s._scrollData.
_viewport
= _scrollData._viewport;
38 references to _viewport
PresentationFramework (38)
System\Windows\Controls\VirtualizingStackPanel.cs (38)
575
_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData._extent.Width, _scrollData.
_viewport
.Width);
703
_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData._extent.Height, _scrollData.
_viewport
.Height);
938
maxOffset = _scrollData._extent.Width - _scrollData.
_viewport
.Width;
943
maxOffset = _scrollData._extent.Height - _scrollData.
_viewport
.Height;
987
maxOffset = _scrollData._extent.Width - _scrollData.
_viewport
.Width;
1017
maxOffset = _scrollData._extent.Height - _scrollData.
_viewport
.Height;
1541
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData.
_viewport
.Width);
1542
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData.
_viewport
.Height);
1895
return _scrollData.
_viewport
.Width;
1907
return _scrollData.
_viewport
.Height;
4339
viewportSize = _scrollData.
_viewport
;
9874
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10021
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10027
"vpSz:", _scrollData.
_viewport
.Width, viewportSize.Width,
10037
viewportSize.Width = _scrollData.
_viewport
.Width;
10238
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10244
"vpSz:", _scrollData.
_viewport
.Height, viewportSize.Height,
10254
viewportSize.Height = _scrollData.
_viewport
.Height;
10406
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10414
"vp:", _scrollData.
_viewport
, viewportSize);
10421
Size oldViewportSize = _scrollData.
_viewport
;
10602
bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10694
!DoubleUtil.AreClose(_scrollData.
_viewport
.Width, viewportSize.Width))
10702
viewportSize.Width = _scrollData.
_viewport
.Width;
10825
!DoubleUtil.AreClose(_scrollData.
_viewport
.Height, viewportSize.Height))
10833
viewportSize.Height = _scrollData.
_viewport
.Height;
10918
viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData.
_viewport
);
10924
Size oldViewportSize = _scrollData.
_viewport
;
11221
viewportSize = (int)_scrollData.
_viewport
.Width;
11226
viewportSize = (int)_scrollData.
_viewport
.Height;
11780
_viewport
.Width == 0.0 &&
11781
_viewport
.Height == 0.0 &&
11836
return
_viewport
;
11877
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width -
_viewport
.Width))
11881
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Width))
11893
if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height -
_viewport
.Height))
11897
else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset),
_viewport
.Height))
13001
s._scrollData._viewport = _scrollData.
_viewport
;