Implemented interface member:
property
IsKeyboardFocusWithin
System.Windows.IInputElement.IsKeyboardFocusWithin
111 references to IsKeyboardFocusWithin
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Preview\DifferenceViewerPreview.cs (1)
36_hasFocus = _viewer.VisualElement.IsKeyboardFocusWithin;
Microsoft.VisualStudio.LanguageServices (1)
EditorConfigSettings\SettingsEditorControl.xaml.cs (1)
78if (!IsKeyboardFocusWithin)
PresentationCore (1)
System\Windows\UIElement.cs (1)
2382if(IsKeyboardFocusWithin)
PresentationFramework (67)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
638if (!cell.IsKeyboardFocusWithin)
System\Windows\Controls\ComboBox.cs (8)
286if (comboBox.IsKeyboardFocusWithin) 290if (comboBox.EditableTextBoxSite != null && !comboBox.EditableTextBoxSite.IsKeyboardFocusWithin) 504return (!comboBox.IsDropDownOpen && comboBox.IsKeyboardFocusWithin) || 1135if (IsDropDownOpen && !IsKeyboardFocusWithin) 1164if (comboBox.IsKeyboardFocusWithin) 1281if (!IsEditable && !item.IsKeyboardFocusWithin) 1721if (!comboBox.IsContextMenuOpen && !comboBox.IsKeyboardFocusWithin) 1758else if (!comboBox.IsContextMenuOpen && !comboBox.IsKeyboardFocusWithin)
System\Windows\Controls\DataGrid.cs (7)
2167if ((cell != null) && !cell.IsKeyboardFocusWithin) 2928if (currentCell.IsValid && dataGrid.IsKeyboardFocusWithin) 2947if (!cell.IsKeyboardFocusWithin) 2995else if (!IsKeyboardFocusWithin) 4767if (!IsKeyboardFocusWithin) 6034if (newCell == null && CurrentCellContainer != null && CurrentCellContainer.IsKeyboardFocusWithin) 6392if ((cell != null) && !cell.IsSelected && !cell.IsKeyboardFocusWithin)
System\Windows\Controls\DataGridCell.cs (4)
344if (DataGridOwner.IsKeyboardFocusWithin) 482if (IsKeyboardFocusWithin && !IsKeyboardFocused) 562if (owner != null && !cell.IsKeyboardFocusWithin && owner.FocusedCell == cell) 905bool focusWithin = IsKeyboardFocusWithin;
System\Windows\Controls\DataGridCellsPanel.cs (1)
1082if ((cell != null && (cell.IsEditing || cell.IsKeyboardFocusWithin || cell == parentDataGrid.FocusedCell)) ||
System\Windows\Controls\DataGridRow.cs (1)
199return dataGrid.IsKeyboardFocusWithin;
System\Windows\Controls\DatePicker.cs (1)
936if (_calendar.IsKeyboardFocusWithin)
System\Windows\Controls\FlowDocumentReader.cs (2)
787if (IsKeyboardFocusWithin && CurrentViewer != null) 920isKeyboardFocusWithin = IsKeyboardFocusWithin;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
748if (_itemsControl != null && !_itemsControl.IsKeyboardFocusWithin)
System\Windows\Controls\ListBox.cs (1)
375if ((ItemsHost != null && ItemsHost.IsKeyboardFocusWithin) || IsKeyboardFocused)
System\Windows\Controls\ListBoxItem.cs (1)
341if (IsKeyboardFocusWithin)
System\Windows\Controls\MenuItem.cs (7)
666if (menuItem.CurrentSelection.IsKeyboardFocusWithin) 690if (menuItem.IsKeyboardFocusWithin) 1380if (!IsKeyboardFocusWithin) 1815if (IsKeyboardFocusWithin) 1864if (IsKeyboardFocusWithin && !IsSelected) 2291if (!IsKeyboardFocusWithin) 2518if (!IsKeyboardFocusWithin
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
460return dataGrid.IsKeyboardFocusWithin;
System\Windows\Controls\Primitives\MenuBase.cs (5)
229if (!menu.IsKeyboardFocusWithin && !menu.HasPushedMenuMode) 242if (!menu.IsKeyboardFocusWithin && !e.FocusAcquired && menu.IsAcquireFocusMenuMode) 261if (IsKeyboardFocusWithin) 303InvokeMenuOpenedClosedAutomationEvent(IsKeyboardFocusWithin); 614if (IsKeyboardFocusWithin)
System\Windows\Controls\Primitives\Selector.cs (2)
1330if (root != null && root.IsKeyboardFocusWithin) 1353if (!IsKeyboardFocusWithin)
System\Windows\Controls\Slider.cs (1)
1320if (!slider.IsKeyboardFocusWithin)
System\Windows\Controls\StickyNote.cs (4)
576_anchor.Focused = IsKeyboardFocusWithin; 1236if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1251if (!IsActive || !IsKeyboardFocusWithin) 1374if (IsKeyboardFocusWithin)
System\Windows\Controls\TabControl.cs (2)
350if (IsKeyboardFocusWithin) 365bool isKeyboardFocusWithin = IsKeyboardFocusWithin;
System\Windows\Controls\TabItem.cs (1)
490bool setFocusOnContent = (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
System\Windows\Controls\ToolBar.cs (2)
265if (overflow != null && overflow.IsKeyboardFocusWithin) 666if (overflow != null && overflow.IsKeyboardFocusWithin)
System\Windows\Controls\TreeView.cs (9)
357if (oldContainer.IsKeyboardFocusWithin) 375if (!this.IsKeyboardFocusWithin) 578if (IsShiftKeyDown && IsKeyboardFocusWithin) 752bool isKeyboardFocusWithin = IsKeyboardFocusWithin; 764if (root != null && root.IsKeyboardFocusWithin) 780if (isKeyboardFocusWithin && IsKeyboardFocused && (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin) 796if (IsKeyboardFocusWithin && IsKeyboardFocused && (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin) 805if (!IsKeyboardFocusWithin)
System\Windows\Controls\TreeViewItem.cs (2)
504if (selected && tree.IsKeyboardFocusWithin && !IsKeyboardFocusWithin)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9166!child.IsKeyboardFocusWithin &&
System\windows\Documents\TextSelection.cs (1)
2561if (element is UIElement && ((UIElement)element).IsKeyboardFocusWithin)
System\Windows\Interop\ActiveXHost.cs (1)
916bool uiDeactivate = !axhost.IsKeyboardFocusWithin;
System.Windows.Controls.Ribbon (41)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (13)
1910if ((quickAccessToolBar != null && quickAccessToolBar.IsKeyboardFocusWithin) || 1911(tabHeaderItemsControl != null && tabHeaderItemsControl.IsKeyboardFocusWithin) || 1912(selectedTab != null && selectedTab.IsKeyboardFocusWithin)) 1915if (quickAccessToolBar != null && quickAccessToolBar.IsKeyboardFocusWithin) 1919else if (tabHeaderItemsControl != null && tabHeaderItemsControl.IsKeyboardFocusWithin) 1969return tabHeader.IsKeyboardFocusWithin; 2016if (group.IsKeyboardFocusWithin) 2061if (ribbonControl.IsKeyboardFocusWithin) 2105if (targetControl.IsKeyboardFocusWithin && 2192if (!targetControl.IsKeyboardFocusWithin) 2198if (considerExtraControl && extraControl.IsKeyboardFocusWithin) 2266if (quickAccessToolBar != null && quickAccessToolBar.IsVisible && quickAccessToolBar.IsKeyboardFocusWithin) 2323if (selectedTab != null && selectedTab.IsVisible && selectedTab.IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (5)
452footerPaneHost.IsKeyboardFocusWithin && 475!popupChild.IsKeyboardFocusWithin) 493auxilaryPaneHost.IsKeyboardFocusWithin && 523auxilaryPaneHost.IsKeyboardFocusWithin && 544subMenuScrollViewer.IsKeyboardFocusWithin &&
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (4)
1190_firstGallery.IsKeyboardFocusWithin) 1195return galleryItemsHostSite.IsKeyboardFocusWithin; 1242if (!IsKeyboardFocusWithin) 1271else if (!IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
148if (!ribbon.IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2283if (IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
624if (!nextElement.IsKeyboardFocusWithin) 1106if (success && targetFocus != null && !targetFocus.IsKeyboardFocusWithin) 1197if (targetFocus != null && !targetFocus.IsKeyboardFocusWithin) 1217targetFocus.IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (5)
796popupChild.IsKeyboardFocusWithin) 1478if (!IsKeyboardFocusWithin) 1544this.IsKeyboardFocusWithin && 1545!popupChild.IsKeyboardFocusWithin) 1558if (!PseudoIsKeyboardFocusWithin && IsKeyboardFocusWithin)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
726if (IsKeyboardFocusWithin) 749if (!IsKeyboardFocusWithin) 788(!popupChild.IsKeyboardFocusWithin || TreeHelper.IsVisualAncestorOf(popupChild, originalSource))) 839popupChild.IsKeyboardFocusWithin) 913if (IsSubmenuOpen && _popup != null && !_popup.IsKeyboardFocusWithin) 978if (IsKeyboardFocusWithin && !RibbonIsSelected) 996!popupChild.IsKeyboardFocusWithin) 1014if (!IsKeyboardFocusWithin && !InContextMenu)