1 instantiation of KeyboardNavigationMode
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12883DefaultConstructor = 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)
1019KeyboardNavigation.SetTabNavigation(host, KeyboardNavigationMode.Local); 1020KeyboardNavigation.SetControlTabNavigation(host, KeyboardNavigationMode.Local);
MS\Internal\Documents\DocumentViewerHelper.cs (2)
47KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.Continue); 66KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.None);
System\Windows\Controls\Calendar.cs (2)
79KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 80KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\ComboBox.cs (3)
35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 36KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 37KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\ContextMenu.cs (3)
41KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 42KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 43KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\DataGrid.cs (12)
53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 54KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 5553KeyboardNavigationMode keyboardNavigationMode = KeyboardNavigation.GetDirectionalNavigation(this); 5554if (keyboardNavigationMode == KeyboardNavigationMode.Once) 5664if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5668else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5710if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5714else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5744if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5748else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5779if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5783else if (keyboardNavigationMode == KeyboardNavigationMode.Contained)
System\Windows\Controls\DataGridCell.cs (1)
31KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCellsPanel.cs (1)
27KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DatePicker.cs (1)
86KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\Frame.cs (2)
117KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 118KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ItemsControl.cs (4)
1965KeyboardNavigationMode mode = KeyboardNavigation.GetDirectionalNavigation(startingParent); 1966if (mode == KeyboardNavigationMode.Contained || 1967mode == KeyboardNavigationMode.Cycle) 1986bool isCycle = KeyboardNavigation.GetDirectionalNavigation(this) == KeyboardNavigationMode.Cycle;
System\Windows\Controls\ListBox.cs (2)
62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 63KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ListBoxItem.cs (2)
45KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\Menu.cs (2)
51KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\MenuItem.cs (1)
180KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\Primitives\CalendarItem.cs (2)
60KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 61KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\TabPanel.cs (2)
46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 47KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\ScrollViewer.cs (1)
2919KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\StickyNote.cs (1)
100KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\TabControl.cs (1)
37KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\TabItem.cs (2)
51KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 52KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\ToolBar.cs (3)
66KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 67KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ToolBarTray.cs (1)
45KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\TreeView.cs (2)
33KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 34KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\TreeViewItem.cs (2)
34KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Input\KeyboardNavigation.cs (58)
207typeof(KeyboardNavigationMode), 209new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 222typeof(KeyboardNavigationMode), 224new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 237typeof(KeyboardNavigationMode), 239new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 372public static void SetTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 386public static KeyboardNavigationMode GetTabNavigation(DependencyObject element) 389return (KeyboardNavigationMode)element.GetValue(TabNavigationProperty); 398public static void SetControlTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 412public static KeyboardNavigationMode GetControlTabNavigation(DependencyObject element) 415return (KeyboardNavigationMode)element.GetValue(ControlTabNavigationProperty); 424public static void SetDirectionalNavigation(DependencyObject element, KeyboardNavigationMode mode) 438public static KeyboardNavigationMode GetDirectionalNavigation(DependencyObject element) 441return (KeyboardNavigationMode)element.GetValue(DirectionalNavigationProperty); 471KeyboardNavigationMode value = (KeyboardNavigationMode)o; 472return value == KeyboardNavigationMode.Contained 473|| value == KeyboardNavigationMode.Continue 474|| value == KeyboardNavigationMode.Cycle 475|| value == KeyboardNavigationMode.None 476|| value == KeyboardNavigationMode.Once 477|| value == KeyboardNavigationMode.Local; 956if (GetKeyNavigationMode(container) == KeyboardNavigationMode.Once) 1139KeyboardNavigationMode mode = GetKeyNavigationMode(parent); 1140if (mode == KeyboardNavigationMode.Contained || mode == KeyboardNavigationMode.Cycle) 1916return GetKeyNavigationMode(e) != KeyboardNavigationMode.Continue; 1960private KeyboardNavigationMode GetKeyNavigationMode(DependencyObject e) 1962return (KeyboardNavigationMode)e.GetValue(_navigationProperty); 2017private DependencyObject GetNextTabWithNextIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2051if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2057private DependencyObject GetNextTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2060if (tabbingType == KeyboardNavigationMode.None) 2069if (tabbingType == KeyboardNavigationMode.Once) 2083KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2097if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2112KeyboardNavigationMode currentTabbingType = tabbingType; 2130if (currentTabbingType == KeyboardNavigationMode.Once) 2131currentTabbingType = KeyboardNavigationMode.Contained; 2138if (!goDownOnly && currentTabbingType != KeyboardNavigationMode.Contained && GetParent(container) != null) 2188private DependencyObject GetPrevTabWithPrevIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2223if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2229private DependencyObject GetPrevTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2232if (tabbingType == KeyboardNavigationMode.None) 2241if (tabbingType == KeyboardNavigationMode.Once) 2261KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2273if (tabbingType == KeyboardNavigationMode.Once) 2294if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2314if (nextTabElement == container && tabbingType == KeyboardNavigationMode.Local) 2334if (tabbingType == KeyboardNavigationMode.Contained) 2900KeyboardNavigationMode mode = GetKeyNavigationMode(container); 2904if (mode == KeyboardNavigationMode.None && searchInsideContainer) 2922if (mode == KeyboardNavigationMode.Once && !searchInsideContainer) 2932case KeyboardNavigationMode.Cycle: 2935case KeyboardNavigationMode.Contained:
System\Windows\Interop\ActiveXHost.cs (1)
75KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
8185TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode) 8204TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
12880typeof(System.Windows.Input.KeyboardNavigationMode), 12884TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode)
System\Windows\Window.cs (3)
61KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 62KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 63KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
116KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 117KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
78KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
109KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 36KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1479new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1482new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue));