34 references to ElementViewportPosition
PresentationFramework (34)
System\Windows\Controls\ItemsControl.cs (24)
2028ElementViewportPosition elementPosition = GetElementViewportPosition(viewport, 2033if (elementPosition == ElementViewportPosition.CompletelyInViewport || 2034elementPosition == ElementViewportPosition.PartiallyInViewport) 2863ElementViewportPosition elementPosition = GetElementViewportPosition(viewportElement, 2867if (elementPosition == ElementViewportPosition.CompletelyInViewport || 2868elementPosition == ElementViewportPosition.PartiallyInViewport) 2926return (GetElementViewportPosition(GetViewportElement(), container, axis, false) == ElementViewportPosition.CompletelyInViewport); 2931return (GetElementViewportPosition(GetViewportElement(), element, axis, false) == ElementViewportPosition.CompletelyInViewport); 2943return (GetElementViewportPosition(viewPort, element, axis, fullyVisible) == ElementViewportPosition.CompletelyInViewport); 2946internal static ElementViewportPosition GetElementViewportPosition(FrameworkElement viewPort, 2955internal static ElementViewportPosition GetElementViewportPosition(FrameworkElement viewPort, 2982internal static ElementViewportPosition GetElementViewportPosition(FrameworkElement viewPort, 2994return ElementViewportPosition.None; 2999return ElementViewportPosition.None; 3031return ElementViewportPosition.CompletelyInViewport; 3041return ElementViewportPosition.CompletelyInViewport; 3049return ElementViewportPosition.CompletelyInViewport; 3056return ElementViewportPosition.PartiallyInViewport; 3061return ElementViewportPosition.BeforeViewport; 3066return ElementViewportPosition.AfterViewport; 3068return ElementViewportPosition.None; 3073internal static ElementViewportPosition GetElementViewportPosition(FrameworkElement viewPort, 3081ElementViewportPosition position = GetElementViewportPosition( 3089if (position == ElementViewportPosition.None)
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1194ElementViewportPosition elementPosition = ItemsControl.GetElementViewportPosition( 1203if (elementPosition == ElementViewportPosition.PartiallyInViewport || 1204elementPosition == ElementViewportPosition.CompletelyInViewport) 1389else if (elementPosition == ElementViewportPosition.AfterViewport)
System\Windows\Input\KeyboardNavigation.cs (6)
2994ElementViewportPosition sourceElementPosition = ItemsControl.GetElementViewportPosition(viewportBoundsElement, 2999if (sourceElementPosition == ElementViewportPosition.None) 3025ElementViewportPosition currentViewportPosition = ItemsControl.GetElementViewportPosition( 3034if (currentViewportPosition == ElementViewportPosition.CompletelyInViewport || 3035currentViewportPosition == ElementViewportPosition.PartiallyInViewport) 3071if (currentViewportPosition == ElementViewportPosition.CompletelyInViewport)