31 references to ElementViewportPosition
PresentationFramework (31)
src\Framework\System\Windows\Controls\ItemsControl.cs (21)
2040
ElementViewportPosition
elementPosition = GetElementViewportPosition(viewport,
2045
if (elementPosition ==
ElementViewportPosition
.CompletelyInViewport ||
2046
elementPosition ==
ElementViewportPosition
.PartiallyInViewport)
2875
ElementViewportPosition
elementPosition = GetElementViewportPosition(viewportElement,
2879
if (elementPosition ==
ElementViewportPosition
.CompletelyInViewport ||
2880
elementPosition ==
ElementViewportPosition
.PartiallyInViewport)
2938
return (GetElementViewportPosition(GetViewportElement(), container, axis, false) ==
ElementViewportPosition
.CompletelyInViewport);
2943
return (GetElementViewportPosition(GetViewportElement(), element, axis, false) ==
ElementViewportPosition
.CompletelyInViewport);
2955
return (GetElementViewportPosition(viewPort, element, axis, fullyVisible) ==
ElementViewportPosition
.CompletelyInViewport);
2958
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
2967
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
2994
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
3006
return
ElementViewportPosition
.None;
3011
return
ElementViewportPosition
.None;
3043
return
ElementViewportPosition
.CompletelyInViewport;
3053
return
ElementViewportPosition
.CompletelyInViewport;
3061
return
ElementViewportPosition
.CompletelyInViewport;
3068
return
ElementViewportPosition
.PartiallyInViewport;
3073
return
ElementViewportPosition
.BeforeViewport;
3078
return
ElementViewportPosition
.AfterViewport;
3080
return
ElementViewportPosition
.None;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
1166
ElementViewportPosition
elementPosition = ItemsControl.GetElementViewportPosition(
1174
if (elementPosition ==
ElementViewportPosition
.PartiallyInViewport ||
1175
elementPosition ==
ElementViewportPosition
.CompletelyInViewport)
1345
else if (elementPosition ==
ElementViewportPosition
.AfterViewport)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (6)
3093
ElementViewportPosition
sourceElementPosition = ItemsControl.GetElementViewportPosition(viewportBoundsElement,
3098
if (sourceElementPosition ==
ElementViewportPosition
.None)
3124
ElementViewportPosition
currentViewportPosition = ItemsControl.GetElementViewportPosition(
3133
if (currentViewportPosition ==
ElementViewportPosition
.CompletelyInViewport ||
3134
currentViewportPosition ==
ElementViewportPosition
.PartiallyInViewport)
3170
if (currentViewportPosition ==
ElementViewportPosition
.CompletelyInViewport)