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)
32Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
ExtractInterface\ExtractInterfaceDialog.xaml.cs (1)
40Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
MoveStaticMembers\MoveStaticMembersDialog.xaml.cs (1)
35Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (1)
32Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
PullMemberUp\MainDialog\PullMemberUpDialog.xaml.cs (1)
40Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
PresentationFramework (17)
MS\Internal\Controls\WebBrowserSite.cs (1)
231Host.MoveFocus(new TraversalRequest((FocusNavigationDirection)direction));
System\Windows\Controls\DataGrid.cs (5)
5722MoveFocus(new TraversalRequest(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right)); 5768MoveFocus(new TraversalRequest(e.Key == Key.Left ? FocusNavigationDirection.Left : FocusNavigationDirection.Right)); 5802MoveFocus(new TraversalRequest(FocusNavigationDirection.Up)); 5837MoveFocus(new TraversalRequest(FocusNavigationDirection.Down)); 5938currentCellContainer.MoveFocus(request);
System\Windows\Controls\DatePicker.cs (2)
923this._calendar.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 938this.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\GroupBox.cs (1)
49MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\Primitives\CalendarItem.cs (3)
475focusTarget.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 678b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 769b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\TabItem.cs (2)
317bool success = selectedContentPresenter.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 352bool success = selectedContentPresenter.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
System\Windows\Controls\ToolBar.cs (2)
289ToolBarOverflowPanel.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); 668MoveFocus(new TraversalRequest(FocusNavigationDirection.Last));
System\Windows\Controls\TreeView.cs (1)
581if (MoveFocus(new TraversalRequest(FocusNavigationDirection.Previous)))
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (4)
2015group.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 2060ribbonControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 2135if (considerExtraControl && extraControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First))) 2155extraControl.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)))
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1061focusedGalleryItem.MoveFocus(new TraversalRequest(shiftPressed ? FocusNavigationDirection.Previous : FocusNavigationDirection.Next));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
697focusObject.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
358if (tab.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)))