36 references to Up
PresentationFramework (35)
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1361
NavigateByLine(HighlightedInfo, FocusNavigationDirection.
Up
, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
1494
NavigateByPage(HighlightedInfo, FocusNavigationDirection.
Up
, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\DataGrid.cs (4)
5565
return FocusNavigationDirection.
Up
;
5807
MoveFocus(new TraversalRequest(FocusNavigationDirection.
Up
));
5889
(e.Key == Key.Up ? FocusNavigationDirection.
Up
: FocusNavigationDirection.Down),
6182
FocusNavigationDirection direction = e.Key == Key.PageUp ? FocusNavigationDirection.
Up
: FocusNavigationDirection.Down;
src\Framework\System\Windows\Controls\ItemsControl.cs (16)
2101
case FocusNavigationDirection.
Up
:
2127
|| (direction == FocusNavigationDirection.
Up
&&
2133
if (direction == FocusNavigationDirection.
Up
)
2308
case FocusNavigationDirection.
Up
:
2411
FocusNavigationDirection.
Up
,
2656
else if (direction == FocusNavigationDirection.
Up
)
2746
GetFirstItemOnCurrentPage(container, FocusNavigationDirection.
Up
, out firstElement);
2768
GetFirstItemOnCurrentPage(container, FocusNavigationDirection.
Up
, out firstElement);
2794
Debug.Assert(direction == FocusNavigationDirection.
Up
|| direction == FocusNavigationDirection.Down, "Can only get the first item on a page using North or South");
2808
if (direction == FocusNavigationDirection.
Up
)
2822
if (direction == FocusNavigationDirection.
Up
)
2846
if (direction == FocusNavigationDirection.
Up
)
3017
bool northSouth = (axis == FocusNavigationDirection.
Up
|| axis == FocusNavigationDirection.Down);
3102
Debug.Assert(direction == FocusNavigationDirection.
Up
||
3118
else if (direction == FocusNavigationDirection.
Up
)
3311
NavigateByLine(startingInfo, FocusNavigationDirection.
Up
, new ItemNavigateArgs(Mouse.PrimaryDevice, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\ListBox.cs (1)
481
NavigateByPage(FocusNavigationDirection.
Up
, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\TreeView.cs (1)
721
(e.Key == Key.PageUp ? FocusNavigationDirection.
Up
: FocusNavigationDirection.Down),
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
681
FocusNavigationDirection direction = (up ? FocusNavigationDirection.
Up
: FocusNavigationDirection.Down);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (10)
1071
case FocusNavigationDirection.
Up
:
1210
request.FocusNavigationDirection == FocusNavigationDirection.
Up
||
1361
return FocusNavigationDirection.
Up
;
1505
success = Navigate(sourceElement, new TraversalRequest(FocusNavigationDirection.
Up
), modifiers);
2638
case FocusNavigationDirection.
Up
:
2672
case FocusNavigationDirection.
Up
:
2702
case FocusNavigationDirection.
Up
:
2774
case FocusNavigationDirection.
Up
:
3139
case FocusNavigationDirection.
Up
:
3160
case FocusNavigationDirection.
Up
:
WindowsBase (1)
Base\System\Windows\Input\TraversalRequest.cs (1)
23
focusNavigationDirection != FocusNavigationDirection.
Up
&&