9 references to FromVisual
PresentationCore (2)
System\Windows\Media\Visual.cs (2)
4725
PresentationSource inputSource = PresentationSource.
FromVisual
(this);
4754
PresentationSource inputSource = PresentationSource.
FromVisual
(this);
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
173
if (PresentationSource.
FromVisual
(annotatedElement) == null)
System\Windows\Documents\TextStore.cs (1)
3307
win32Window = PresentationSource.
FromVisual
(RenderScope) as IWin32Window;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2923
hwndSource = PresentationSource.
FromVisual
(targetVisual) as HwndSource;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
288
CompositionTarget compositionTarget = PresentationSource.
FromVisual
(rw).CompositionTarget;
WindowsFormsIntegration (3)
System\Windows\Integration\ApplicationInterop.cs (2)
418
return (PresentationSource.
FromVisual
(x) != null) ? (PresentationSource.
FromVisual
(x)).RootVisual : null;
System\Windows\Integration\WindowsFormsHost.cs (1)
1006
PresentationSource presentationSource = PresentationSource.
FromVisual
(this._host);