24 references to Current
PresentationFramework (24)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
347
DependencyObject predictedFocus = KeyboardNavigation.
Current
.PredictFocusedElement(focusedElement, direction);
System\Windows\Controls\Button.cs (2)
96
KeyboardNavigation.
Current
.FocusChanged += focusChangedEventHandler;
102
KeyboardNavigation.
Current
.FocusChanged -= focusChangedEventHandler;
System\Windows\Controls\DataGrid.cs (1)
5586
KeyboardNavigation keyboardNavigation = KeyboardNavigation.
Current
;
System\Windows\Controls\ItemsControl.cs (3)
2017
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2146
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2855
currentElement = KeyboardNavigation.
Current
.PredictFocusedElementAtViewportEdge(startingElement,
System\Windows\Controls\Menu.cs (2)
149
KeyboardNavigation.
Current
.EnterMenuMode += _enterMenuModeHandler;
157
KeyboardNavigation.
Current
.EnterMenuMode -= _enterMenuModeHandler;
System\Windows\Controls\Primitives\Selector.cs (2)
58
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
1380
KeyboardNavigation.
Current
.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
52
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
1010
return KeyboardNavigation.
Current
.Navigate(this, request);
1024
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
1050
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
1060
KeyboardNavigation.
Current
.HideFocusVisual();
1064
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5320
return KeyboardNavigation.
Current
.Navigate(this, request);
5334
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
5370
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
5381
KeyboardNavigation.
Current
.HideFocusVisual();
5385
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
840
Current
.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject);
929
Current
.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);