Base:
method
MoveFocus
System.Windows.UIElement.MoveFocus(System.Windows.Input.TraversalRequest)
30 references to MoveFocus
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
196MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
Microsoft.VisualStudio.LanguageServices (5)
ExtractClass\ExtractClassDialog.xaml.cs (1)
33Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
ExtractInterface\ExtractInterfaceDialog.xaml.cs (1)
41Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
MoveStaticMembers\MoveStaticMembersDialog.xaml.cs (1)
36Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (1)
33Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
PullMemberUp\MainDialog\PullMemberUpDialog.xaml.cs (1)
41Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
PresentationFramework (17)
MS\Internal\Controls\WebBrowserSite.cs (1)
224Host.MoveFocus(new TraversalRequest((FocusNavigationDirection)direction));
System\Windows\Controls\DataGrid.cs (5)
5723MoveFocus(new TraversalRequest(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right)); 5769MoveFocus(new TraversalRequest(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right)); 5803MoveFocus(new TraversalRequest(FocusNavigationDirection.Up)); 5838MoveFocus(new TraversalRequest(FocusNavigationDirection.Down)); 5939currentCellContainer.MoveFocus(request);
System\Windows\Controls\DatePicker.cs (2)
919this._calendar.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 934this.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\GroupBox.cs (1)
49MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\Primitives\CalendarItem.cs (3)
470focusTarget.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 673b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 764b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\TabItem.cs (2)
313bool success = selectedContentPresenter.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 348bool success = selectedContentPresenter.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\ToolBar.cs (2)
280ToolBarOverflowPanel.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); 659MoveFocus(new TraversalRequest(FocusNavigationDirection.Last));
System\Windows\Controls\TreeView.cs (1)
578if (MoveFocus(new TraversalRequest(FocusNavigationDirection.Previous)))
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (4)
2014group.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 2059ribbonControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 2134if (considerExtraControl && extraControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First))) 2154extraControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)))
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1063focusedGalleryItem.MoveFocus(new TraversalRequest(shiftPressed ? FocusNavigationDirection.Previous : FocusNavigationDirection.Next));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
696focusObject.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
356if (tab.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)))