5 references to FromVisual
PresentationCore (2)
Core\CSharp\System\Windows\Media\Visual.cs (2)
4787PresentationSource inputSource = PresentationSource.FromVisual(this); 4816PresentationSource inputSource = PresentationSource.FromVisual(this);
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
182if (PresentationSource.FromVisual(annotatedElement) == null)
src\Framework\System\Windows\Documents\TextStore.cs (1)
3232win32Window = PresentationSource.FromVisual(RenderScope) as IWin32Window;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (1)
166this.hwndSource = HwndSource.FromVisual(this.View) as HwndSource;