3 writes to _activeSource
PresentationCore (3)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (3)
788
_activeSource
= new SecurityCriticalDataClass<PresentationSource>(keyboardInput.InputSource);
795
_activeSource
= new SecurityCriticalDataClass<PresentationSource>(keyboardInput.InputSource);
1056
_activeSource
= null;
11 references to _activeSource
PresentationCore (11)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (11)
109
if (
_activeSource
!= null)
111
return
_activeSource
.Value;
173
if(oFocus == null &&
_activeSource
!= null)
175
oFocus =
_activeSource
.Value.RootVisual as DependencyObject;
718
if(moveFocusTo == null &&
_activeSource
!= null)
720
moveFocusTo =
_activeSource
.Value.RootVisual as DependencyObject;
785
if(
_activeSource
== null)
790
else if(
_activeSource
.Value != keyboardInput.InputSource)
792
IKeyboardInputProvider toDeactivate =
_activeSource
.Value.GetInputProvider(typeof(KeyboardDevice)) as IKeyboardInputProvider;
1130
return
_activeSource
!= null &&
_activeSource
.Value != null;