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