14 references to IsFocused
PresentationFramework (10)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
461
if (selected && _uiParent.
IsFocused
)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
415
if ((textContainer.TextSelection.IsEmpty || !textContainer.TextSelection.TextEditor.UiScope.
IsFocused
) &&
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
370
if (b != null && b.
IsFocused
)
427
if (b != null && b.
IsFocused
)
474
if (focusTarget != null && !focusTarget.
IsFocused
)
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
550
bool wasFocused =
IsFocused
;
602
if (
IsFocused
)
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
713
else if (This.UiScope.
IsFocused
&& This.Selection.Contains(mouseMovePoint))
src\Framework\System\windows\Documents\TextSelection.cs (2)
345
else if (uiScope.
IsFocused
&&
745
if ((this.UiScope.IsKeyboardFocused || this.UiScope.
IsFocused
))
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
705
if ((shouldFocus && !cell.
IsFocused
) && !GetIsCustomEditor(cell))
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (1)
104
if (this.IdentifierTextBox.
IsFocused
)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
217
(this.hostControl != null && this.hostControl.
IsFocused
)))
388
result = (this.hostControl != null && this.hostControl.
IsFocused
) || this.expressionEditorInstance.HasAggregateFocus;