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