24 references to Current
PresentationFramework (24)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
345
DependencyObject predictedFocus = KeyboardNavigation.
Current
.PredictFocusedElement(focusedElement, direction);
System\Windows\Controls\Button.cs (2)
87
KeyboardNavigation.
Current
.FocusChanged += focusChangedEventHandler;
93
KeyboardNavigation.
Current
.FocusChanged -= focusChangedEventHandler;
System\Windows\Controls\DataGrid.cs (1)
5583
KeyboardNavigation keyboardNavigation = KeyboardNavigation.
Current
;
System\Windows\Controls\ItemsControl.cs (3)
2008
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2137
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2846
currentElement = KeyboardNavigation.
Current
.PredictFocusedElementAtViewportEdge(startingElement,
System\Windows\Controls\Menu.cs (2)
139
KeyboardNavigation.
Current
.EnterMenuMode += _enterMenuModeHandler;
147
KeyboardNavigation.
Current
.EnterMenuMode -= _enterMenuModeHandler;
System\Windows\Controls\Primitives\Selector.cs (2)
49
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
1371
KeyboardNavigation.
Current
.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
47
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
998
return KeyboardNavigation.
Current
.Navigate(this, request);
1012
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
1038
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
1048
KeyboardNavigation.
Current
.HideFocusVisual();
1052
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5309
return KeyboardNavigation.
Current
.Navigate(this, request);
5323
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
5359
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
5370
KeyboardNavigation.
Current
.HideFocusVisual();
5374
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
830
Current
.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject);
919
Current
.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);