34 instantiations of ItemNavigateArgs
PresentationFramework (34)
System\Windows\Controls\ComboBox.cs (8)
1359
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1379
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1418
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1433
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1448
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1471
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1492
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1500
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
433
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
442
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\DataGrid.cs (2)
5885
new
ItemNavigateArgs
(e.KeyboardDevice, Keyboard.Modifiers),
6202
PrepareToNavigateByPage(startingInfo, startingElement, direction, new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), out targetElement);
System\Windows\Controls\ItemsControl.cs (5)
3261
_empty = new
ItemNavigateArgs
(null, ModifierKeys.None);;
3380
NavigateByLine(startingInfo, FocusNavigationDirection.Up, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3385
NavigateByLine(startingInfo, FocusNavigationDirection.Down, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3400
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
3410
NavigateByLine(startingInfo, direction, new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (6)
378
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers)))
392
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
396
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
483
NavigateByPage(FocusNavigationDirection.Up, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
487
NavigateByPage(FocusNavigationDirection.Down, new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
774
NavigateToItem(ItemInfoFromContainer(listItem), new
ItemNavigateArgs
(Mouse.PrimaryDevice, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (6)
1914
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1918
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1961
NavigateToStart(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
1971
NavigateToEnd(new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
2342
NavigateToStart(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers));
2378
parent.NavigateByLine(parent.FocusedInfo, KeyboardNavigation.KeyToTraversalDirection(key), new
ItemNavigateArgs
(Keyboard.PrimaryDevice, modifiers));
System\Windows\Controls\TextSearch.cs (1)
237
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.
ItemNavigateArgs
(Keyboard.PrimaryDevice, ModifierKeys.None));
System\Windows\Controls\TreeView.cs (3)
618
return NavigateToStartInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
625
return NavigateToEndInternal(new
ItemNavigateArgs
(Keyboard.PrimaryDevice, Keyboard.Modifiers), true /*shouldFocus*/, out container);
720
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
701
new
ItemNavigateArgs
(e.Device, Keyboard.Modifiers));
30 references to ItemNavigateArgs
PresentationFramework (30)
System\Windows\Controls\ComboBox.cs (4)
275
cb.NavigateToItem(cb.InternalSelectedInfo,
ItemNavigateArgs
.Empty, true /* alwaysAtTopOfViewport */);
575
NavigateToItem(selectedInfo,
ItemNavigateArgs
.Empty);
1094
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
1511
NavigateToItem(InternalSelectedInfo,
ItemNavigateArgs
.Empty);
System\Windows\Controls\DataGrid.cs (1)
5475
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\ItemsControl.cs (23)
1870
internal bool NavigateByLine(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
1888
ItemNavigateArgs
itemNavigateArgs,
1921
ItemNavigateArgs
itemNavigateArgs)
1929
ItemNavigateArgs
itemNavigateArgs)
1962
ItemNavigateArgs
itemNavigateArgs,
2188
ItemNavigateArgs
itemNavigateArgs,
2220
internal bool NavigateByPage(FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs)
2228
ItemNavigateArgs
itemNavigateArgs)
2237
ItemNavigateArgs
itemNavigateArgs)
2270
ItemNavigateArgs
itemNavigateArgs,
2365
internal void NavigateToStart(
ItemNavigateArgs
itemNavigateArgs)
2371
internal bool NavigateToStartInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2431
internal void NavigateToEnd(
ItemNavigateArgs
itemNavigateArgs)
2437
internal bool NavigateToEndInternal(
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
2546
internal void NavigateToItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport=false)
2554
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs)
2559
internal void NavigateToItem(object item, int itemIndex,
ItemNavigateArgs
itemNavigateArgs)
2564
internal void NavigateToItem(object item,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2569
private void NavigateToItem(object item, int elementIndex,
ItemNavigateArgs
itemNavigateArgs, bool alwaysAtTopOfViewport)
2771
private bool NavigateToFirstItemOnCurrentPage(object startingItem, FocusNavigationDirection direction,
ItemNavigateArgs
itemNavigateArgs, bool shouldFocus, out FrameworkElement container)
3255
public static
ItemNavigateArgs
Empty
3266
private static
ItemNavigateArgs
_empty;
3270
internal virtual bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\ListBox.cs (1)
977
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)
System\Windows\Controls\Menu.cs (1)
293
internal override bool FocusItem(ItemInfo info,
ItemNavigateArgs
itemNavigateArgs)