2 writes to _viewPort
PresentationFramework (2)
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
465
_viewPort
= scrollViewer.GetTemplateChild(ScrollViewer.ScrollContentPresenterTemplateName) as FrameworkElement;
470
_viewPort
= scrollViewer;
4 references to _viewPort
PresentationFramework (4)
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (4)
468
if (
_viewPort
== null)
487
if (_viewItem != null &&
_viewPort
!= null)
489
Rect viewPortBounds = new Rect(new Point(),
_viewPort
.RenderSize);
491
itemBounds = _viewItem.TransformToAncestor(
_viewPort
).TransformBounds(itemBounds);