24 references to Current
PresentationFramework (24)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
345DependencyObject predictedFocus = KeyboardNavigation.Current.PredictFocusedElement(focusedElement, direction);
System\Windows\Controls\Button.cs (2)
87KeyboardNavigation.Current.FocusChanged += focusChangedEventHandler; 93KeyboardNavigation.Current.FocusChanged -= focusChangedEventHandler;
System\Windows\Controls\DataGrid.cs (1)
5583KeyboardNavigation keyboardNavigation = KeyboardNavigation.Current;
System\Windows\Controls\ItemsControl.cs (3)
2008nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2137nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2846currentElement = KeyboardNavigation.Current.PredictFocusedElementAtViewportEdge(startingElement,
System\Windows\Controls\Menu.cs (2)
139KeyboardNavigation.Current.EnterMenuMode += _enterMenuModeHandler; 147KeyboardNavigation.Current.EnterMenuMode -= _enterMenuModeHandler;
System\Windows\Controls\Primitives\Selector.cs (2)
49KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler; 1371KeyboardNavigation.Current.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
47KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
998return KeyboardNavigation.Current.Navigate(this, request); 1012return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 1038KeyboardNavigation keyNav = KeyboardNavigation.Current; 1048KeyboardNavigation.Current.HideFocusVisual(); 1052KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5309return KeyboardNavigation.Current.Navigate(this, request); 5323return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 5359KeyboardNavigation keyNav = KeyboardNavigation.Current; 5370KeyboardNavigation.Current.HideFocusVisual(); 5374KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
830Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 919Current.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);