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