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)
5545
KeyboardNavigation keyboardNavigation = KeyboardNavigation.
Current
;
System\Windows\Controls\ItemsControl.cs (3)
1978
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2107
nextElement = KeyboardNavigation.
Current
.PredictFocusedElement(startingElement,
2816
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)
46
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
1368
KeyboardNavigation.
Current
.UpdateActiveElement(this, element);
System\Windows\Controls\TreeView.cs (1)
47
KeyboardNavigation.
Current
.FocusEnterMainFocusScope += _focusEnterMainFocusScopeEventHandler;
System\Windows\FrameworkContentElement.cs (5)
988
return KeyboardNavigation.
Current
.Navigate(this, request);
1002
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
1028
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
1038
KeyboardNavigation.
Current
.HideFocusVisual();
1042
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\FrameworkElement.cs (5)
5308
return KeyboardNavigation.
Current
.Navigate(this, request);
5322
return KeyboardNavigation.
Current
.PredictFocusedElement(this, direction);
5358
KeyboardNavigation keyNav = KeyboardNavigation.
Current
;
5369
KeyboardNavigation.
Current
.HideFocusVisual();
5373
KeyboardNavigation.
Current
.NotifyFocusChanged(sender, e);
System\Windows\Input\KeyboardNavigation.cs (2)
831
Current
.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject);
920
Current
.NotifyFocusEnterMainFocusScope(visualRoot, EventArgs.Empty);