24 references to Current
PresentationFramework (24)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
344DependencyObject predictedFocus = KeyboardNavigation.Current.PredictFocusedElement(focusedElement, direction);
System\Windows\Controls\Button.cs (2)
86KeyboardNavigation.Current.FocusChanged += focusChangedEventHandler; 92KeyboardNavigation.Current.FocusChanged -= focusChangedEventHandler;
System\Windows\Controls\DataGrid.cs (1)
5544KeyboardNavigation keyboardNavigation = KeyboardNavigation.Current;
System\Windows\Controls\ItemsControl.cs (3)
1977nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2106nextElement = KeyboardNavigation.Current.PredictFocusedElement(startingElement, 2815currentElement = KeyboardNavigation.Current.PredictFocusedElementAtViewportEdge(startingElement,
System\Windows\Controls\Menu.cs (2)
138KeyboardNavigation.Current.EnterMenuMode += _enterMenuModeHandler; 146KeyboardNavigation.Current.EnterMenuMode -= _enterMenuModeHandler;
System\Windows\Controls\Primitives\Selector.cs (2)
45KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler; 1367KeyboardNavigation.Current.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
46KeyboardNavigation.Current.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
987return KeyboardNavigation.Current.Navigate(this, request); 1001return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 1027KeyboardNavigation keyNav = KeyboardNavigation.Current; 1037KeyboardNavigation.Current.HideFocusVisual(); 1041KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5307return KeyboardNavigation.Current.Navigate(this, request); 5321return KeyboardNavigation.Current.PredictFocusedElement(this, direction); 5357KeyboardNavigation keyNav = KeyboardNavigation.Current; 5368KeyboardNavigation.Current.HideFocusVisual(); 5372KeyboardNavigation.Current.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
829Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 918Current.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);