24 references to Current
PresentationFramework (24)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
367DependencyObject predictedFocus = KeyboardNavigation.Current.PredictFocusedElement(focusedElement, direction);
src\Framework\System\Windows\Controls\Button.cs (2)
92KeyboardNavigation.Current.FocusChanged += focusChangedEventHandler; 98KeyboardNavigation.Current.FocusChanged -= focusChangedEventHandler;
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5591KeyboardNavigation keyboardNavigation = KeyboardNavigation.Current;
src\Framework\System\Windows\Controls\ItemsControl.cs (3)
2020nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2149nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2858currentElement = KeyboardNavigation.Current.PredictFocusedElementAtViewportEdge(startingElement,
src\Framework\System\Windows\Controls\Menu.cs (2)
160KeyboardNavigation.Current.EnterMenuMode += _enterMenuModeHandler; 173KeyboardNavigation.Current.EnterMenuMode -= _enterMenuModeHandler;
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
59KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler; 1398KeyboardNavigation.Current.UpdateActiveElement(this, element);
src\Framework\System\Windows\Controls\TreeView.cs (1)
53KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
src\Framework\System\Windows\FrameworkContentElement.cs (5)
1019return KeyboardNavigation.Current.Navigate(this, request); 1033return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 1059KeyboardNavigation keyNav = KeyboardNavigation.Current; 1069KeyboardNavigation.Current.HideFocusVisual(); 1073KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
src\Framework\System\Windows\FrameworkElement.cs (5)
5318return KeyboardNavigation.Current.Navigate(this, request); 5332return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 5368KeyboardNavigation keyNav = KeyboardNavigation.Current; 5379KeyboardNavigation.Current.HideFocusVisual(); 5383KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
893Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 983Current.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);