2 writes to _hasFocus
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Preview\DifferenceViewerPreview.cs (2)
36
_hasFocus
= _viewer.VisualElement.IsKeyboardFocusWithin;
95
_hasFocus
= (bool)e.NewValue;
3 references to _hasFocus
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Preview\DifferenceViewerPreview.cs (3)
96
if (
_hasFocus
)
111
if (
_hasFocus
&& _editorCommandTarget != null)
122
if (
_hasFocus
&& _editorCommandTarget != null)