15 references to IsFocused
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
193if (lastItem.IsFocused)
PresentationFramework (10)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
440if (selected && _uiParent.IsFocused)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
393if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.IsFocused) &&
System\Windows\Controls\Primitives\CalendarItem.cs (3)
364if (b != null && b.IsFocused) 421if (b != null && b.IsFocused) 468if (focusTarget != null && !focusTarget.IsFocused)
System\Windows\Controls\TreeViewItem.cs (2)
545bool wasFocused = IsFocused; 597if (IsFocused)
System\windows\Documents\TextEditorMouse.cs (1)
698else if (This.UiScope.IsFocused && This.Selection.Contains(mouseMovePoint))
System\windows\Documents\TextSelection.cs (2)
339else if (uiScope.IsFocused && 739if ((this.UiScope.IsKeyboardFocused || this.UiScope.IsFocused))
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
72if (IsFocused) 157if (!IsFocused)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
140if ((_editableTextBox != null) && (_editableTextBox.IsFocused))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
855(IsFocused || (focusedElement != null && TreeHelper.IsVisualAncestorOf(this, focusedElement))))