Implemented interface member:
property
IsKeyboardFocusWithin
System.Windows.IInputElement.IsKeyboardFocusWithin
79 references to IsKeyboardFocusWithin
PresentationCore (1)
Core\CSharp\System\Windows\UIElement.cs (1)
2411if(IsKeyboardFocusWithin)
PresentationFramework (67)
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
612if (!cell.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\ComboBox.cs (8)
287if (comboBox.IsKeyboardFocusWithin) 291if (comboBox.EditableTextBoxSite != null && !comboBox.EditableTextBoxSite.IsKeyboardFocusWithin) 505return (!comboBox.IsDropDownOpen && comboBox.IsKeyboardFocusWithin) || 1137if (IsDropDownOpen && !IsKeyboardFocusWithin) 1166if (comboBox.IsKeyboardFocusWithin) 1283if (!IsEditable && !item.IsKeyboardFocusWithin) 1724if (!comboBox.IsContextMenuOpen && !comboBox.IsKeyboardFocusWithin) 1761else if (!comboBox.IsContextMenuOpen && !comboBox.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\DataGrid.cs (7)
2171if ((cell != null) && !cell.IsKeyboardFocusWithin) 2933if (currentCell.IsValid && dataGrid.IsKeyboardFocusWithin) 2952if (!cell.IsKeyboardFocusWithin) 3000else if (!IsKeyboardFocusWithin) 4772if (!IsKeyboardFocusWithin) 6039if (newCell == null && CurrentCellContainer != null && CurrentCellContainer.IsKeyboardFocusWithin) 6397if ((cell != null) && !cell.IsSelected && !cell.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\DataGridCell.cs (4)
339if (DataGridOwner.IsKeyboardFocusWithin) 477if (IsKeyboardFocusWithin && !IsKeyboardFocused) 557if (owner != null && !cell.IsKeyboardFocusWithin && owner.FocusedCell == cell) 900bool focusWithin = IsKeyboardFocusWithin;
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1084if ((cell != null && (cell.IsEditing || cell.IsKeyboardFocusWithin || cell == parentDataGrid.FocusedCell)) ||
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
200return dataGrid.IsKeyboardFocusWithin;
src\Framework\System\Windows\Controls\DatePicker.cs (1)
925if (_calendar.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
788if (IsKeyboardFocusWithin && CurrentViewer != null) 926isKeyboardFocusWithin = IsKeyboardFocusWithin;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
750if (_itemsControl != null && !_itemsControl.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\ListBox.cs (1)
373if ((ItemsHost != null && ItemsHost.IsKeyboardFocusWithin) || IsKeyboardFocused)
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
341if (IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\MenuItem.cs (7)
661if (menuItem.CurrentSelection.IsKeyboardFocusWithin) 685if (menuItem.IsKeyboardFocusWithin) 1383if (!IsKeyboardFocusWithin) 1851if (IsKeyboardFocusWithin) 1900if (IsKeyboardFocusWithin && !IsSelected) 2351if (!IsKeyboardFocusWithin) 2578if (!IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
461return dataGrid.IsKeyboardFocusWithin;
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (5)
231if (!menu.IsKeyboardFocusWithin && !menu.HasPushedMenuMode) 244if (!menu.IsKeyboardFocusWithin && !e.FocusAcquired && menu.IsAcquireFocusMenuMode) 263if (IsKeyboardFocusWithin) 305InvokeMenuOpenedClosedAutomationEvent(IsKeyboardFocusWithin); 623if (IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
1348if (root != null && root.IsKeyboardFocusWithin) 1371if (!IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\Slider.cs (1)
1245if (!slider.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\StickyNote.cs (4)
586_anchor.Focused = IsKeyboardFocusWithin; 1246if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1261if (!IsActive || !IsKeyboardFocusWithin) 1384if (IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\TabControl.cs (2)
351if (IsKeyboardFocusWithin) 366bool isKeyboardFocusWithin = IsKeyboardFocusWithin;
src\Framework\System\Windows\Controls\TabItem.cs (1)
476bool setFocusOnContent = (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\ToolBar.cs (2)
266if (overflow != null && overflow.IsKeyboardFocusWithin) 676if (overflow != null && overflow.IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\TreeView.cs (9)
358if (oldContainer.IsKeyboardFocusWithin) 376if (!this.IsKeyboardFocusWithin) 579if (IsShiftKeyDown && IsKeyboardFocusWithin) 754bool isKeyboardFocusWithin = IsKeyboardFocusWithin; 766if (root != null && root.IsKeyboardFocusWithin) 782if (isKeyboardFocusWithin && IsKeyboardFocused && (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin) 798if (IsKeyboardFocusWithin && IsKeyboardFocused && (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin) 807if (!IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
505if (selected && tree.IsKeyboardFocusWithin && !IsKeyboardFocusWithin)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
9008!child.IsKeyboardFocusWithin &&
src\Framework\System\windows\Documents\TextSelection.cs (1)
2574if (element is UIElement && ((UIElement)element).IsKeyboardFocusWithin)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1052bool uiDeactivate = !axhost.IsKeyboardFocusWithin;
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (1)
53if (this.IsMouseOver || this.IsKeyboardFocusWithin)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
606if (focusMode == StealFocusMode.OnlyIfCategoryListHasFocusWithin && !this.IsKeyboardFocusWithin) 611if (focusMode == StealFocusMode.OnlyIfCurrentSelectionDoesNotHaveFocusWithin && _selection.IsKeyboardFocusWithin)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
125if (!this.IsKeyboardFocusWithin)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1267if (!designer.IsKeyboardFocusWithin) 1273else if (designer.IsKeyboardFocusWithin)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
660if (!this.IsKeyboardFocusWithin) 945if (e.Key == Key.Right && last.IsKeyboardFocusWithin) 950else if (e.Key == Key.Left && first.IsKeyboardFocusWithin)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
392result = !this.IsKeyboardFocused && this.IsKeyboardFocusWithin;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
644if (null != this.view && this.view.IsKeyboardFocusWithin)