15 references to IsFocused
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
193
if (lastItem.
IsFocused
)
PresentationFramework (10)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
446
if (selected && _uiParent.
IsFocused
)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
395
if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.
IsFocused
) &&
System\Windows\Controls\Primitives\CalendarItem.cs (3)
369
if (b != null && b.
IsFocused
)
426
if (b != null && b.
IsFocused
)
473
if (focusTarget != null && !focusTarget.
IsFocused
)
System\Windows\Controls\TreeViewItem.cs (2)
549
bool wasFocused =
IsFocused
;
601
if (
IsFocused
)
System\windows\Documents\TextEditorMouse.cs (1)
712
else if (This.UiScope.
IsFocused
&& This.Selection.Contains(mouseMovePoint))
System\windows\Documents\TextSelection.cs (2)
342
else if (uiScope.
IsFocused
&&
742
if ((this.UiScope.IsKeyboardFocused || this.UiScope.
IsFocused
))
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
74
if (
IsFocused
)
159
if (!
IsFocused
)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
142
if ((_editableTextBox != null) && (_editableTextBox.
IsFocused
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
858
(
IsFocused
|| (focusedElement != null && TreeHelper.IsVisualAncestorOf(this, focusedElement))))