34 references to ElementViewportPosition
PresentationFramework (34)
System\Windows\Controls\ItemsControl.cs (24)
2037
ElementViewportPosition
elementPosition = GetElementViewportPosition(viewport,
2042
if (elementPosition ==
ElementViewportPosition
.CompletelyInViewport ||
2043
elementPosition ==
ElementViewportPosition
.PartiallyInViewport)
2872
ElementViewportPosition
elementPosition = GetElementViewportPosition(viewportElement,
2876
if (elementPosition ==
ElementViewportPosition
.CompletelyInViewport ||
2877
elementPosition ==
ElementViewportPosition
.PartiallyInViewport)
2935
return (GetElementViewportPosition(GetViewportElement(), container, axis, false) ==
ElementViewportPosition
.CompletelyInViewport);
2940
return (GetElementViewportPosition(GetViewportElement(), element, axis, false) ==
ElementViewportPosition
.CompletelyInViewport);
2952
return (GetElementViewportPosition(viewPort, element, axis, fullyVisible) ==
ElementViewportPosition
.CompletelyInViewport);
2955
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
2964
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
2991
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
3003
return
ElementViewportPosition
.None;
3008
return
ElementViewportPosition
.None;
3040
return
ElementViewportPosition
.CompletelyInViewport;
3050
return
ElementViewportPosition
.CompletelyInViewport;
3058
return
ElementViewportPosition
.CompletelyInViewport;
3065
return
ElementViewportPosition
.PartiallyInViewport;
3070
return
ElementViewportPosition
.BeforeViewport;
3075
return
ElementViewportPosition
.AfterViewport;
3077
return
ElementViewportPosition
.None;
3082
internal static
ElementViewportPosition
GetElementViewportPosition(FrameworkElement viewPort,
3090
ElementViewportPosition
position = GetElementViewportPosition(
3098
if (position ==
ElementViewportPosition
.None)
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1199
ElementViewportPosition
elementPosition = ItemsControl.GetElementViewportPosition(
1208
if (elementPosition ==
ElementViewportPosition
.PartiallyInViewport ||
1209
elementPosition ==
ElementViewportPosition
.CompletelyInViewport)
1394
else if (elementPosition ==
ElementViewportPosition
.AfterViewport)
System\Windows\Input\KeyboardNavigation.cs (6)
3004
ElementViewportPosition
sourceElementPosition = ItemsControl.GetElementViewportPosition(viewportBoundsElement,
3009
if (sourceElementPosition ==
ElementViewportPosition
.None)
3035
ElementViewportPosition
currentViewportPosition = ItemsControl.GetElementViewportPosition(
3044
if (currentViewportPosition ==
ElementViewportPosition
.CompletelyInViewport ||
3045
currentViewportPosition ==
ElementViewportPosition
.PartiallyInViewport)
3081
if (currentViewportPosition ==
ElementViewportPosition
.CompletelyInViewport)