29 instantiations of 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));
23 references to TraversalRequest
PresentationCore (6)
Core\CSharp\System\Windows\ContentElement.cs (1)
513
public virtual bool MoveFocus(
TraversalRequest
request)
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
2261
protected virtual bool TabIntoCore(
TraversalRequest
request)
2282
bool IKeyboardInputSink.TabInto(
TraversalRequest
request)
Core\CSharp\System\Windows\Interop\HwndSourceKeyboardInputSite.cs (1)
99
bool IKeyboardInputSite.OnNoMoreTabStops(
TraversalRequest
request)
Core\CSharp\System\Windows\UIElement.cs (1)
2663
public virtual bool MoveFocus(
TraversalRequest
request)
Core\CSharp\System\Windows\UIElement3D.cs (1)
623
public virtual bool MoveFocus(
TraversalRequest
request)
PresentationFramework (15)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
623
TraversalRequest
tr = new TraversalRequest(
1250
bool IKeyboardInputSite.OnNoMoreTabStops(
TraversalRequest
request)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
5869
TraversalRequest
request = new TraversalRequest(KeyToTraversalDirection(e.Key));
5934
TraversalRequest
request = new TraversalRequest(direction);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1322
protected override bool TabIntoCore(
TraversalRequest
request)
src\Framework\System\Windows\FrameworkContentElement.cs (1)
1012
public sealed override bool MoveFocus(
TraversalRequest
request)
src\Framework\System\Windows\FrameworkElement.cs (1)
5311
public sealed override bool MoveFocus(
TraversalRequest
request)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (6)
1028
internal bool Navigate(DependencyObject currentElement,
TraversalRequest
request)
1036
private bool Navigate(DependencyObject currentElement,
TraversalRequest
request, ModifierKeys modifierKeys, bool fromProcessInputTabKey = false)
1041
private bool Navigate(DependencyObject currentElement,
TraversalRequest
request, ModifierKeys modifierKeys, DependencyObject firstElement, bool fromProcessInputTabKey = false)
1131
TraversalRequest
tr = new TraversalRequest(request.FocusNavigationDirection);
1159
private bool NavigateOutsidePresentationSource(DependencyObject currentElement,
TraversalRequest
request, bool fromProcessInput, ref bool shouldCycle)
1203
private bool ShouldNavigateOutsidePresentationSource(DependencyObject currentElement,
TraversalRequest
request)
src\Framework\System\Windows\Interop\HwndHost.cs (2)
313
protected virtual bool TabIntoCore(
TraversalRequest
request)
318
bool IKeyboardInputSink.TabInto(
TraversalRequest
request)
WindowsBase (2)
Base\System\Windows\Interop\IKeyboardInputSink.cs (1)
59
bool TabInto(
TraversalRequest
request);
Base\System\Windows\Interop\IKeyboardInputSite.cs (1)
40
bool OnNoMoreTabStops(
TraversalRequest
request);