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