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)
5545KeyboardNavigation keyboardNavigation = KeyboardNavigation.Current;
System\Windows\Controls\ItemsControl.cs (3)
1978nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2107nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2816currentElement = 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)
46KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler; 1368KeyboardNavigation.Current.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
47KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
988return KeyboardNavigation.Current.Navigate(this, request); 1002return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 1028KeyboardNavigation keyNav = KeyboardNavigation.Current; 1038KeyboardNavigation.Current.HideFocusVisual(); 1042KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5308return KeyboardNavigation.Current.Navigate(this, request); 5322return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 5358KeyboardNavigation keyNav = KeyboardNavigation.Current; 5369KeyboardNavigation.Current.HideFocusVisual(); 5373KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
831Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 920Current.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);