29 references to TraversalRequest
PresentationFramework (28)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
623
TraversalRequest tr = new
TraversalRequest
(
src\Framework\MS\Internal\Controls\WebBrowserSite.cs (1)
285
Host.MoveFocus(new
TraversalRequest
((FocusNavigationDirection)direction));
src\Framework\System\Windows\Controls\DataGrid.cs (6)
5727
MoveFocus(new
TraversalRequest
(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right));
5773
MoveFocus(new
TraversalRequest
(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right));
5807
MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Up));
5842
MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Down));
5869
TraversalRequest request = new
TraversalRequest
(KeyToTraversalDirection(e.Key));
5934
TraversalRequest request = new
TraversalRequest
(direction);
src\Framework\System\Windows\Controls\DatePicker.cs (2)
912
this._calendar.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
927
this.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
src\Framework\System\Windows\Controls\GroupBox.cs (1)
51
MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
476
focusTarget.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
679
b.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
771
b.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
src\Framework\System\Windows\Controls\TabItem.cs (2)
318
bool success = selectedContentPresenter.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
353
bool success = selectedContentPresenter.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.First));
src\Framework\System\Windows\Controls\ToolBar.cs (2)
290
ToolBarOverflowPanel.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Next));
678
MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Last));
src\Framework\System\Windows\Controls\TreeView.cs (1)
582
if (MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Previous)))
src\Framework\System\Windows\Input\KeyboardNavigation.cs (9)
1099
return Navigate(visualRoot, new
TraversalRequest
(request.FocusNavigationDirection == FocusNavigationDirection.Next ? FocusNavigationDirection.First : FocusNavigationDirection.Last));
1123
traversed = inputSink.TabInto(new
TraversalRequest
(FocusNavigationDirection.First));
1127
traversed = inputSink.TabInto(new
TraversalRequest
(FocusNavigationDirection.Last));
1131
TraversalRequest tr = new
TraversalRequest
(request.FocusNavigationDirection);
1492
new
TraversalRequest
(((modifiers & ModifierKeys.Shift) == ModifierKeys.Shift) ?
1497
success = Navigate(sourceElement, new
TraversalRequest
(FocusNavigationDirection.Right), modifiers);
1501
success = Navigate(sourceElement, new
TraversalRequest
(FocusNavigationDirection.Left), modifiers);
1505
success = Navigate(sourceElement, new
TraversalRequest
(FocusNavigationDirection.Up), modifiers);
1509
success = Navigate(sourceElement, new
TraversalRequest
(FocusNavigationDirection.Down), modifiers);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1179
focusedElement.MoveFocus(new
TraversalRequest
(FocusNavigationDirection.Next));