34 instantiations of ItemNavigateArgs
PresentationFramework (34)
System\Windows\Controls\ComboBox.cs (8)
1349
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1369
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1408
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1423
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1438
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1461
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1482
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1490
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
425
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
434
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\DataGrid.cs (2)
5882
new
ItemNavigateArgs
(e.KeyboardDevice, Keyboard.Modifiers),
6199
PrepareToNavigateByPage(startingInfo, startingElement, direction, new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), out targetElement);
System\Windows\Controls\ItemsControl.cs (5)
3252
_empty = new
ItemNavigateArgs
(null, ModifierKeys.None);;
3371
NavigateByLine(startingInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3376
NavigateByLine(startingInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3391
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3401
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (6)
372
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers)))
386
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
390
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
477
NavigateByPage(FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
481
NavigateByPage(FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
768
NavigateToItem(ItemInfoFromContainer(listItem), new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (6)
1904
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1908
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1951
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1961
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
2332
NavigateToStart(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers));
2368
parent.NavigateByLine(parent.FocusedInfo, KeyboardNavigation.KeyToTraversalDirection(key), new
ItemNavigateArgs
(Keyboard.PrimaryDevice, modifiers));
System\Windows\Controls\TextSearch.cs (1)
226
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.
ItemNavigateArgs
(Keyboard.PrimaryDevice, ModifierKeys.None));
System\Windows\Controls\TreeView.cs (3)
613
return NavigateToStartInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
620
return NavigateToEndInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
715
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
697
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
30 references to ItemNavigateArgs
PresentationFramework (30)
System\Windows\Controls\ComboBox.cs (4)
265
cb.NavigateToItem(cb.InternalSelectedInfo,
ItemNavigateArgs
.Empty, true /* alwaysAtTopOfViewport */);
565
NavigateToItem(selectedInfo,
ItemNavigateArgs
.Empty);
1084
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
1501
NavigateToItem(InternalSelectedInfo,
ItemNavigateArgs
.Empty);
System\Windows\Controls\DataGrid.cs (1)
5472
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\ItemsControl.cs (23)
1861
internal bool NavigateByLine(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
1879
ItemNavigateArgs
itemNavigateArgs,
1912
ItemNavigateArgs
itemNavigateArgs)
1920
ItemNavigateArgs
itemNavigateArgs)
1953
ItemNavigateArgs
itemNavigateArgs,
2179
ItemNavigateArgs
itemNavigateArgs,
2211
internal bool NavigateByPage(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
2219
ItemNavigateArgs
itemNavigateArgs)
2228
ItemNavigateArgs
itemNavigateArgs)
2261
ItemNavigateArgs
itemNavigateArgs,
2356
internal void NavigateToStart(
ItemNavigateArgs
itemNavigateArgs)
2362
internal bool NavigateToStartInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2422
internal void NavigateToEnd(
ItemNavigateArgs
itemNavigateArgs)
2428
internal bool NavigateToEndInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2537
internal void NavigateToItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport=false)
2545
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs)
2550
internal void NavigateToItem(object item, int itemIndex,
ItemNavigateArgs
itemNavigateArgs)
2555
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2560
private void NavigateToItem(object item, int elementIndex,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2762
private bool NavigateToFirstItemOnCurrentPage(object startingItem, FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
3246
public static
ItemNavigateArgs
Empty
3257
private static
ItemNavigateArgs
_empty;
3261
internal virtual bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\ListBox.cs (1)
971
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\Menu.cs (1)
283
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)