24 references to Current
PresentationFramework (24)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
347DependencyObject predictedFocus = KeyboardNavigation.Current.PredictFocusedElement(focusedElement, direction);
System\Windows\Controls\Button.cs (2)
96KeyboardNavigation.Current.FocusChanged += focusChangedEventHandler; 102KeyboardNavigation.Current.FocusChanged -= focusChangedEventHandler;
System\Windows\Controls\DataGrid.cs (1)
5586KeyboardNavigation keyboardNavigation = KeyboardNavigation.Current;
System\Windows\Controls\ItemsControl.cs (3)
2017nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2146nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2855currentElement = KeyboardNavigation.Current.PredictFocusedElementAtViewportEdge(startingElement,
System\Windows\Controls\Menu.cs (2)
149KeyboardNavigation.Current.EnterMenuMode += _enterMenuModeHandler; 157KeyboardNavigation.Current.EnterMenuMode -= _enterMenuModeHandler;
System\Windows\Controls\Primitives\Selector.cs (2)
58KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler; 1380KeyboardNavigation.Current.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
52KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
1010return KeyboardNavigation.Current.Navigate(this, request); 1024return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 1050KeyboardNavigation keyNav = KeyboardNavigation.Current; 1060KeyboardNavigation.Current.HideFocusVisual(); 1064KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5320return KeyboardNavigation.Current.Navigate(this, request); 5334return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 5370KeyboardNavigation keyNav = KeyboardNavigation.Current; 5381KeyboardNavigation.Current.HideFocusVisual(); 5385KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
840Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 929Current.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);