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)
440
if (selected && _uiParent.
IsFocused
)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
393
if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.
IsFocused
) &&
System\Windows\Controls\Primitives\CalendarItem.cs (3)
364
if (b != null && b.
IsFocused
)
421
if (b != null && b.
IsFocused
)
468
if (focusTarget != null && !focusTarget.
IsFocused
)
System\Windows\Controls\TreeViewItem.cs (2)
545
bool wasFocused =
IsFocused
;
597
if (
IsFocused
)
System\windows\Documents\TextEditorMouse.cs (1)
698
else if (This.UiScope.
IsFocused
&& This.Selection.Contains(mouseMovePoint))
System\windows\Documents\TextSelection.cs (2)
339
else if (uiScope.
IsFocused
&&
739
if ((this.UiScope.IsKeyboardFocused || this.UiScope.
IsFocused
))
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
72
if (
IsFocused
)
157
if (!
IsFocused
)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
140
if ((_editableTextBox != null) && (_editableTextBox.
IsFocused
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
855
(
IsFocused
|| (focusedElement != null && TreeHelper.IsVisualAncestorOf(this, focusedElement))))