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