34 instantiations of ItemNavigateArgs
PresentationFramework (34)
src\Framework\System\Windows\Controls\ComboBox.cs (8)
1361
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1381
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1420
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1435
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1450
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1473
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1494
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1502
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
437
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
446
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\DataGrid.cs (2)
5890
new
ItemNavigateArgs
(e.KeyboardDevice, Keyboard.Modifiers),
6207
PrepareToNavigateByPage(startingInfo, startingElement, direction, new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), out targetElement);
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
3192
_empty = new
ItemNavigateArgs
(null, ModifierKeys.None);;
3311
NavigateByLine(startingInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3316
NavigateByLine(startingInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3331
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3341
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\ListBox.cs (6)
376
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers)))
390
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
394
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
481
NavigateByPage(FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
485
NavigateByPage(FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
729
NavigateToItem(ItemInfoFromContainer(listItem), new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\MenuItem.cs (6)
1956
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1960
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
2003
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
2013
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
2402
NavigateToStart(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers));
2438
parent.NavigateByLine(parent.FocusedInfo, KeyboardNavigation.KeyToTraversalDirection(key), new
ItemNavigateArgs
(Keyboard.PrimaryDevice, modifiers));
src\Framework\System\Windows\Controls\TextSearch.cs (1)
253
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.
ItemNavigateArgs
(Keyboard.PrimaryDevice, ModifierKeys.None));
src\Framework\System\Windows\Controls\TreeView.cs (3)
619
return NavigateToStartInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
626
return NavigateToEndInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
722
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
702
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
30 references to ItemNavigateArgs
PresentationFramework (30)
src\Framework\System\Windows\Controls\ComboBox.cs (4)
276
cb.NavigateToItem(cb.InternalSelectedInfo,
ItemNavigateArgs
.Empty, true /* alwaysAtTopOfViewport */);
576
NavigateToItem(selectedInfo,
ItemNavigateArgs
.Empty);
1096
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
1513
NavigateToItem(InternalSelectedInfo,
ItemNavigateArgs
.Empty);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5480
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
src\Framework\System\Windows\Controls\ItemsControl.cs (23)
1873
internal bool NavigateByLine(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
1891
ItemNavigateArgs
itemNavigateArgs,
1924
ItemNavigateArgs
itemNavigateArgs)
1932
ItemNavigateArgs
itemNavigateArgs)
1965
ItemNavigateArgs
itemNavigateArgs,
2191
ItemNavigateArgs
itemNavigateArgs,
2223
internal bool NavigateByPage(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
2231
ItemNavigateArgs
itemNavigateArgs)
2240
ItemNavigateArgs
itemNavigateArgs)
2273
ItemNavigateArgs
itemNavigateArgs,
2368
internal void NavigateToStart(
ItemNavigateArgs
itemNavigateArgs)
2374
internal bool NavigateToStartInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2434
internal void NavigateToEnd(
ItemNavigateArgs
itemNavigateArgs)
2440
internal bool NavigateToEndInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2549
internal void NavigateToItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport=false)
2557
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs)
2562
internal void NavigateToItem(object item, int itemIndex,
ItemNavigateArgs
itemNavigateArgs)
2567
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2572
private void NavigateToItem(object item, int elementIndex,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2774
private bool NavigateToFirstItemOnCurrentPage(object startingItem, FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
3186
public static
ItemNavigateArgs
Empty
3197
private static
ItemNavigateArgs
_empty;
3201
internal virtual bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
src\Framework\System\Windows\Controls\ListBox.cs (1)
934
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
src\Framework\System\Windows\Controls\Menu.cs (1)
314
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)