1 instantiation of KeyboardNavigationMode
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11589bamlType.DefaultConstructor = delegate() { return new System.Windows.Input.KeyboardNavigationMode(); };
131 references to KeyboardNavigationMode
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)
50KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.Continue); 69KeyboardNavigation.SetTabNavigation(findToolBarHost, KeyboardNavigationMode.None);
System\Windows\Controls\Calendar.cs (2)
84KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 85KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\ComboBox.cs (3)
46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 47KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\ContextMenu.cs (3)
50KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 51KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\DataGrid.cs (12)
57KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 58KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 5595KeyboardNavigationMode keyboardNavigationMode = KeyboardNavigation.GetDirectionalNavigation(this); 5596if (keyboardNavigationMode == KeyboardNavigationMode.Once) 5706if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5710else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5752if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5756else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5786if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5790else if (keyboardNavigationMode == KeyboardNavigationMode.Contained) 5821if (keyboardNavigationMode == KeyboardNavigationMode.Cycle) 5825else if (keyboardNavigationMode == KeyboardNavigationMode.Contained)
System\Windows\Controls\DataGridCell.cs (1)
39KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCellsPanel.cs (1)
32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DatePicker.cs (1)
91KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\Frame.cs (2)
130KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 131KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ItemsControl.cs (4)
2005KeyboardNavigationMode mode = KeyboardNavigation.GetDirectionalNavigation(startingParent); 2006if (mode == KeyboardNavigationMode.Contained || 2007mode == KeyboardNavigationMode.Cycle) 2026bool isCycle = KeyboardNavigation.GetDirectionalNavigation(this) == KeyboardNavigationMode.Cycle;
System\Windows\Controls\ListBox.cs (2)
69KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 70KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ListBoxItem.cs (2)
53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\Menu.cs (2)
62KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\MenuItem.cs (1)
191KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\Primitives\CalendarItem.cs (2)
66KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\TabPanel.cs (2)
55KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 56KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\ScrollViewer.cs (1)
2924KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\StickyNote.cs (1)
128KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\TabControl.cs (1)
48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\TabItem.cs (2)
58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\ToolBar.cs (3)
76KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 77KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\ToolBarTray.cs (1)
54KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\TreeView.cs (2)
39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Controls\TreeViewItem.cs (2)
39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None));
System\Windows\Input\KeyboardNavigation.cs (58)
218typeof(KeyboardNavigationMode), 220new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 233typeof(KeyboardNavigationMode), 235new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 248typeof(KeyboardNavigationMode), 250new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 383public static void SetTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 397public static KeyboardNavigationMode GetTabNavigation(DependencyObject element) 400return (KeyboardNavigationMode)element.GetValue(TabNavigationProperty); 409public static void SetControlTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 423public static KeyboardNavigationMode GetControlTabNavigation(DependencyObject element) 426return (KeyboardNavigationMode)element.GetValue(ControlTabNavigationProperty); 435public static void SetDirectionalNavigation(DependencyObject element, KeyboardNavigationMode mode) 449public static KeyboardNavigationMode GetDirectionalNavigation(DependencyObject element) 452return (KeyboardNavigationMode)element.GetValue(DirectionalNavigationProperty); 482KeyboardNavigationMode value = (KeyboardNavigationMode)o; 483return value == KeyboardNavigationMode.Contained 484|| value == KeyboardNavigationMode.Continue 485|| value == KeyboardNavigationMode.Cycle 486|| value == KeyboardNavigationMode.None 487|| value == KeyboardNavigationMode.Once 488|| value == KeyboardNavigationMode.Local; 967if (GetKeyNavigationMode(container) == KeyboardNavigationMode.Once) 1148KeyboardNavigationMode mode = GetKeyNavigationMode(parent); 1149if (mode == KeyboardNavigationMode.Contained || mode == KeyboardNavigationMode.Cycle) 1928return GetKeyNavigationMode(e) != KeyboardNavigationMode.Continue; 1972private KeyboardNavigationMode GetKeyNavigationMode(DependencyObject e) 1974return (KeyboardNavigationMode)e.GetValue(_navigationProperty); 2029private DependencyObject GetNextTabWithNextIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2063if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2069private DependencyObject GetNextTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2072if (tabbingType == KeyboardNavigationMode.None) 2081if (tabbingType == KeyboardNavigationMode.Once) 2095KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2109if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2124KeyboardNavigationMode currentTabbingType = tabbingType; 2142if (currentTabbingType == KeyboardNavigationMode.Once) 2143currentTabbingType = KeyboardNavigationMode.Contained; 2150if (!goDownOnly && currentTabbingType != KeyboardNavigationMode.Contained && GetParent(container) != null) 2200private DependencyObject GetPrevTabWithPrevIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2235if (tabbingType == KeyboardNavigationMode.Cycle && nextTabElement == null) 2241private DependencyObject GetPrevTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2244if (tabbingType == KeyboardNavigationMode.None) 2253if (tabbingType == KeyboardNavigationMode.Once) 2273KeyboardNavigationMode tabbingType = GetKeyNavigationMode(container); 2285if (tabbingType == KeyboardNavigationMode.Once) 2306if (tabbingType == KeyboardNavigationMode.Once || tabbingType == KeyboardNavigationMode.None) 2326if (nextTabElement == container && tabbingType == KeyboardNavigationMode.Local) 2346if (tabbingType == KeyboardNavigationMode.Contained) 2916KeyboardNavigationMode mode = GetKeyNavigationMode(container); 2920if (mode == KeyboardNavigationMode.None && searchInsideContainer) 2938if (mode == KeyboardNavigationMode.Once && !searchInsideContainer) 2948case KeyboardNavigationMode.Cycle: 2951case KeyboardNavigationMode.Contained:
System\Windows\Interop\ActiveXHost.cs (1)
90KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7587bamlMember.TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode); 7604bamlMember.TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
11587typeof(System.Windows.Input.KeyboardNavigationMode), 11590bamlType.TypeConverterType = typeof(System.Windows.Input.KeyboardNavigationMode);
System\Windows\Window.cs (3)
80KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 81KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 82KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
120KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 121KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
82KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
115KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
38KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 39KeyboardNavigation.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));