1 instantiation of KeyboardNavigationMode
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12884DefaultConstructor = delegate () { return new System.Windows.Input.KeyboardNavigationMode(); },
134 references to KeyboardNavigationMode
Microsoft.AspNetCore.Components.WebView.Wpf (3)
BlazorWebView.cs (3)
212 var keyboardNavigationMode = isTabStop ? KeyboardNavigationMode.Local : KeyboardNavigationMode.None;
PresentationFramework (123)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
1022KeyboardNavigation.SetTabNavigation(host, KeyboardNavigationMode.Local); 1023KeyboardNavigation.SetControlTabNavigation(host, KeyboardNavigationMode.Local);
MS\Internal\Documents\DocumentViewerHelper.cs (2)
48KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.Continue); 67KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.None);
System\Windows\Controls\Calendar.cs (2)
80KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 81KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\ComboBox.cs (3)
36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\ContextMenu.cs (3)
42KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 43KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 44KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\DataGrid.cs (12)
54KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 5596KeyboardNavigationMode keyboardNavigationMode = KeyboardNavigation.GetDirectionalNavigation(this); 5597if (keyboardNavigationMode == KeyboardNavigationMode.Once) 5707if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5711else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5753if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5757else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5787if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5791else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5822if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5826else if (keyboardNavigationMode == KeyboardNavigationMode.Contained)
System\Windows\Controls\DataGridCell.cs (1)
32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCellsPanel.cs (1)
28KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DatePicker.cs (1)
87KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\Frame.cs (2)
118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 119KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ItemsControl.cs (4)
1996KeyboardNavigationMode mode = KeyboardNavigation.GetDirectionalNavigation(startingParent); 1997if (mode == KeyboardNavigationMode.Contained || 1998mode == KeyboardNavigationMode.Cycle) 2017bool isCycle = KeyboardNavigation.GetDirectionalNavigation(this) == KeyboardNavigationMode.Cycle;
System\Windows\Controls\ListBox.cs (2)
63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 64KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ListBoxItem.cs (2)
46KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\Menu.cs (2)
52KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\MenuItem.cs (1)
181KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\Primitives\CalendarItem.cs (2)
61KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\TabPanel.cs (2)
47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\ScrollViewer.cs (1)
2926KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\StickyNote.cs (1)
101KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\TabControl.cs (1)
38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\TabItem.cs (2)
52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 53KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\ToolBar.cs (3)
67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ToolBarTray.cs (1)
46KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\TreeView.cs (2)
34KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\TreeViewItem.cs (2)
35KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Input\KeyboardNavigation.cs (58)
208typeof(KeyboardNavigationMode), 210new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 223typeof(KeyboardNavigationMode), 225new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 238typeof(KeyboardNavigationMode), 240new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 373public static void SetTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 387public static KeyboardNavigationMode GetTabNavigation(DependencyObject element) 390return (KeyboardNavigationMode)element.GetValue(TabNavigationProperty); 399public static void SetControlTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 413public static KeyboardNavigationMode GetControlTabNavigation(DependencyObject element) 416return (KeyboardNavigationMode)element.GetValue(ControlTabNavigationProperty); 425public static void SetDirectionalNavigation(DependencyObject element, KeyboardNavigationMode mode) 439public static KeyboardNavigationMode GetDirectionalNavigation(DependencyObject element) 442return (KeyboardNavigationMode)element.GetValue(DirectionalNavigationProperty); 472KeyboardNavigationMode value = (KeyboardNavigationMode)o; 473return value == KeyboardNavigationMode.Contained 474|| value == KeyboardNavigationMode.Continue 475|| value == KeyboardNavigationMode.Cycle 476|| value == KeyboardNavigationMode.None 477|| value == KeyboardNavigationMode.Once 478|| value == KeyboardNavigationMode.Local; 961if (GetKeyNavigationMode(container) == KeyboardNavigationMode.Once) 1144KeyboardNavigationMode mode = GetKeyNavigationMode(parent); 1145if (mode == KeyboardNavigationMode.Contained || mode == KeyboardNavigationMode.Cycle) 1924return GetKeyNavigationMode(e) != KeyboardNavigationMode.Continue; 1968private KeyboardNavigationMode GetKeyNavigationMode(DependencyObject e) 1970return (KeyboardNavigationMode)e.GetValue(_navigationProperty); 2025private DependencyObject GetNextTabWithNextIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2059if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2065private DependencyObject GetNextTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2068if (tabbingType == KeyboardNavigationMode.None) 2077if (tabbingType == KeyboardNavigationMode.Once) 2091KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2105if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2120KeyboardNavigationMode currentTabbingType = tabbingType; 2138if (currentTabbingType == KeyboardNavigationMode.Once) 2139currentTabbingType = KeyboardNavigationMode.Contained; 2146if (!goDownOnly && currentTabbingType != KeyboardNavigationMode.Contained && GetParent(container) != null) 2196private DependencyObject GetPrevTabWithPrevIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2231if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2237private DependencyObject GetPrevTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2240if (tabbingType == KeyboardNavigationMode.None) 2249if (tabbingType == KeyboardNavigationMode.Once) 2269KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2281if (tabbingType == KeyboardNavigationMode.Once) 2302if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2322if (nextTabElement == container && tabbingType == KeyboardNavigationMode.Local) 2342if (tabbingType == KeyboardNavigationMode.Contained) 2912KeyboardNavigationMode mode = GetKeyNavigationMode(container); 2916if (mode == KeyboardNavigationMode.None && searchInsideContainer) 2934if (mode == KeyboardNavigationMode.Once && !searchInsideContainer) 2944case KeyboardNavigationMode.Cycle: 2947case KeyboardNavigationMode.Contained:
System\Windows\Interop\ActiveXHost.cs (1)
76KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
8186TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode) 8205TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
12881typeof(System.Windows.Input.KeyboardNavigationMode), 12885TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode)
System\Windows\Window.cs (3)
62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 63KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 64KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
117KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
79KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
110KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1489new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1492new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue));