3 writes to _activeSource
PresentationCore (3)
System\Windows\Input\KeyboardDevice.cs (3)
698
_activeSource
= keyboardInput.InputSource;
705
_activeSource
= keyboardInput.InputSource;
960
_activeSource
= null;
9 references to _activeSource
PresentationCore (9)
System\Windows\Input\KeyboardDevice.cs (9)
90
public override PresentationSource ActiveSource =>
_activeSource
;
140
if(oFocus == null &&
_activeSource
!= null)
142
oFocus =
_activeSource
.RootVisual;
639
if(moveFocusTo is null &&
_activeSource
is not null)
641
moveFocusTo =
_activeSource
.RootVisual;
695
if(
_activeSource
== null)
700
else if(
_activeSource
!= keyboardInput.InputSource)
702
IKeyboardInputProvider toDeactivate =
_activeSource
.GetInputProvider(typeof(KeyboardDevice)) as IKeyboardInputProvider;
1022
internal bool IsActive =>
_activeSource
is not null;