31 references to CriticalFromVisual
PresentationCore (31)
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
196
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(_owner);
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (3)
204
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(_owner);
233
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(_owner);
518
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(_owner);
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
535
source = PresentationSource.
CriticalFromVisual
(containingVisual);
Core\CSharp\System\Windows\Input\FocusManager.cs (2)
162
if (PresentationSource.
CriticalFromVisual
(focusScope) != PresentationSource.
CriticalFromVisual
(focusedElement))
Core\CSharp\System\Windows\Input\InputElement.cs (2)
313
HwndSource sourceFrom = PresentationSource.
CriticalFromVisual
(rootFrom) as HwndSource;
314
HwndSource sourceTo = PresentationSource.
CriticalFromVisual
(rootTo) as HwndSource;
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1757
PresentationSource source = PresentationSource.
CriticalFromVisual
(containingVisual);
Core\CSharp\System\Windows\Input\Keyboard.cs (1)
438
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(uie);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (2)
212
PresentationSource source = PresentationSource.
CriticalFromVisual
(containingVisual);
683
presentationSource = PresentationSource.
CriticalFromVisual
(visualContainer);
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (1)
42
_activeSource = PresentationSource.
CriticalFromVisual
(element);
Core\CSharp\System\Windows\Input\ManipulationLogic.cs (1)
630
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
((Visual)newContainer);
Core\CSharp\System\Windows\Input\MouseDevice.cs (3)
421
PresentationSource captureSource = PresentationSource.
CriticalFromVisual
(containingVisual);
647
relativePresentationSource = PresentationSource.
CriticalFromVisual
(containingVisual);
886
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(visual);
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
624
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(visual);
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (3)
409
HwndSource hwndSource = PresentationSource.
CriticalFromVisual
(focusedDO) as HwndSource;
541
HwndSource hwndSource = PresentationSource.
CriticalFromVisual
(restoreFocusDO) as HwndSource;
564
HwndSource hwndSource = PresentationSource.
CriticalFromVisual
(restoreFocusDO) as HwndSource;
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
2398
HwndSource mnemonicScope = (focusObject == null ? null : PresentationSource.
CriticalFromVisual
(focusObject) as HwndSource);
2733
PresentationSource.
CriticalFromVisual
((DependencyObject)focusElement) != this)
Core\CSharp\System\Windows\PresentationSource.cs (4)
114
return
CriticalFromVisual
(visual);
134
return
CriticalFromVisual
(dependencyObject);
700
PresentationSource baseSource =
CriticalFromVisual
(visuals[0]);
705
PresentationSource currentSource =
CriticalFromVisual
(visuals[i]);
Core\CSharp\System\Windows\UIElement.cs (1)
3917
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(this);
Core\CSharp\System\Windows\UIElement3D.cs (1)
1111
PresentationSource presentationSource = PresentationSource.
CriticalFromVisual
(this);
Shared\MS\Internal\SafeSecurityHelperAvalon.cs (1)
57
isConnected = PresentationSource.
CriticalFromVisual
(visual ) != null;