9 references to FromVisual
PresentationCore (2)
System\Windows\Media\Visual.cs (2)
4741
PresentationSource inputSource = PresentationSource.
FromVisual
(this);
4770
PresentationSource inputSource = PresentationSource.
FromVisual
(this);
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
177
if (PresentationSource.
FromVisual
(annotatedElement) == null)
System\Windows\Documents\TextStore.cs (1)
3318
win32Window = PresentationSource.
FromVisual
(RenderScope) as IWin32Window;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2928
hwndSource = PresentationSource.
FromVisual
(targetVisual) as HwndSource;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
293
CompositionTarget compositionTarget = PresentationSource.
FromVisual
(rw).CompositionTarget;
WindowsFormsIntegration (3)
System\Windows\Integration\ApplicationInterop.cs (2)
420
return (PresentationSource.
FromVisual
(x) != null) ? (PresentationSource.
FromVisual
(x)).RootVisual : null;
System\Windows\Integration\WindowsFormsHost.cs (1)
1008
PresentationSource presentationSource = PresentationSource.
FromVisual
(this._host);