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)
439
if (selected && _uiParent.
IsFocused
)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
392
if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.
IsFocused
) &&
System\Windows\Controls\Primitives\CalendarItem.cs (3)
363
if (b != null && b.
IsFocused
)
420
if (b != null && b.
IsFocused
)
467
if (focusTarget != null && !focusTarget.
IsFocused
)
System\Windows\Controls\TreeViewItem.cs (2)
538
bool wasFocused =
IsFocused
;
590
if (
IsFocused
)
System\windows\Documents\TextEditorMouse.cs (1)
694
else if (This.UiScope.
IsFocused
&& This.Selection.Contains(mouseMovePoint))
System\windows\Documents\TextSelection.cs (2)
326
else if (uiScope.
IsFocused
&&
726
if ((this.UiScope.IsKeyboardFocused || this.UiScope.
IsFocused
))
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
71
if (
IsFocused
)
156
if (!
IsFocused
)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
135
if ((_editableTextBox != null) && (_editableTextBox.
IsFocused
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
854
(
IsFocused
|| (focusedElement != null && TreeHelper.IsVisualAncestorOf(this, focusedElement))))