Implemented interface member:
property
IsKeyboardFocused
System.Windows.IInputElement.IsKeyboardFocused
46 references to IsKeyboardFocused
PresentationCore (2)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
349
return _owner.
IsKeyboardFocused
;
System\Windows\UIElement.cs (1)
3472
return
IsKeyboardFocused
;
PresentationFramework (37)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
202
if (focusedButton == null || !focusedButton.
IsKeyboardFocused
)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
111
if (tb == null || !tb.
IsKeyboardFocused
)
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
69
if (tb == null || !tb.
IsKeyboardFocused
)
System\Windows\Controls\CheckBox.cs (1)
102
if (!
IsKeyboardFocused
)
System\Windows\Controls\Control.cs (1)
665
if (
IsKeyboardFocused
)
System\Windows\Controls\DataGridCell.cs (1)
482
if (IsKeyboardFocusWithin && !
IsKeyboardFocused
)
System\Windows\Controls\Expander.cs (2)
229
if (
IsKeyboardFocused
)
333
return _expanderToggleButton?.
IsKeyboardFocused
?? false;
System\Windows\Controls\ListBox.cs (1)
375
if ((ItemsHost != null && ItemsHost.IsKeyboardFocusWithin) ||
IsKeyboardFocused
)
System\Windows\Controls\ListBoxItem.cs (1)
227
if (
IsKeyboardFocused
)
System\Windows\Controls\PasswordBox.cs (1)
434
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\ButtonBase.cs (2)
539
if (
IsKeyboardFocused
&& !IsInMainFocusScope)
806
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\CalendarButton.cs (1)
137
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
239
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\MenuBase.cs (2)
213
if (!HasCapture && !IsMouseOver && CurrentSelection != null && !CurrentSelection.
IsKeyboardFocused
&& !CurrentSelection.IsSubmenuOpen)
763
wasFocused = _currentSelection.
IsKeyboardFocused
;
System\Windows\Controls\Primitives\RangeBase.cs (1)
360
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
991
if (
IsKeyboardFocused
)
System\Windows\Controls\Primitives\Thumb.cs (1)
205
if (
IsKeyboardFocused
)
System\Windows\Controls\RadioButton.cs (1)
264
if (!
IsKeyboardFocused
)
System\Windows\Controls\StickyNote.cs (1)
606
if ( innerControl.
IsKeyboardFocused
== false )
System\Windows\Controls\TabItem.cs (1)
250
if (
IsKeyboardFocused
)
System\Windows\Controls\TreeView.cs (3)
379
if (!_selectedContainer.
IsKeyboardFocused
)
780
if (isKeyboardFocusWithin &&
IsKeyboardFocused
&& (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin)
796
if (IsKeyboardFocusWithin &&
IsKeyboardFocused
&& (_selectedContainer != null) && !_selectedContainer.IsKeyboardFocusWithin)
System\Windows\Controls\TreeViewItem.cs (1)
1111
if (
IsKeyboardFocused
)
System\Windows\Documents\ImmComposition.cs (1)
1900
if (!UiScope.
IsKeyboardFocused
)
System\Windows\Documents\Speller.cs (1)
689
if (!_textEditor.UiScope.
IsKeyboardFocused
)
System\windows\Documents\TextEditorMouse.cs (1)
304
if (This.UiScope.
IsKeyboardFocused
)
System\windows\Documents\TextEditorTyping.cs (3)
1060
if (This.Selection.IsTableCellRange || !This.AcceptsReturn || !This.UiScope.
IsKeyboardFocused
)
1346
if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.
IsKeyboardFocused
)
1377
if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.
IsKeyboardFocused
)
System\windows\Documents\TextSelection.cs (2)
336
if (uiScope.
IsKeyboardFocused
)
742
if ((this.UiScope.
IsKeyboardFocused
|| this.UiScope.IsFocused))
System\Windows\Documents\TextServicesHost.cs (1)
361
if (textstore.UiScope.
IsKeyboardFocused
)
System\Windows\FrameworkElement.cs (1)
5396
if (
IsKeyboardFocused
)
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
90
if (tb == null || !tb.
IsKeyboardFocused
)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (6)
204
else if (!(
IsKeyboardFocused
||
205
(EditableTextBoxSite != null && EditableTextBoxSite.
IsKeyboardFocused
) ||
206
(PartToggleButton != null && PartToggleButton.
IsKeyboardFocused
)))
1179
(this.
IsKeyboardFocused
||
1180
(EditableTextBoxSite != null && EditableTextBoxSite.
IsKeyboardFocused
) ||
1181
(PartToggleButton != null && PartToggleButton.
IsKeyboardFocused
));