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)
446if (selected && _uiParent.IsFocused)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
395if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.IsFocused) &&
System\Windows\Controls\Primitives\CalendarItem.cs (3)
369if (b != null && b.IsFocused) 426if (b != null && b.IsFocused) 473if (focusTarget != null && !focusTarget.IsFocused)
System\Windows\Controls\TreeViewItem.cs (2)
549bool wasFocused = IsFocused; 601if (IsFocused)
System\windows\Documents\TextEditorMouse.cs (1)
712else if (This.UiScope.IsFocused && This.Selection.Contains(mouseMovePoint))
System\windows\Documents\TextSelection.cs (2)
342else if (uiScope.IsFocused && 742if ((this.UiScope.IsKeyboardFocused || this.UiScope.IsFocused))
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
74if (IsFocused) 159if (!IsFocused)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
142if ((_editableTextBox != null) && (_editableTextBox.IsFocused))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
858(IsFocused || (focusedElement != null && TreeHelper.IsVisualAncestorOf(this, focusedElement))))