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