4 references to FromDependencyObject
PresentationCore (4)
System\Windows\Diagnostics\VisualDiagnostics.cs (2)
150s_ActiveHwndSource = PresentationSource.FromDependencyObject(args.Parent) as System.Windows.Interop.HwndSource; 326(s_ActiveHwndSource != PresentationSource.FromDependencyObject(d));
System\Windows\Input\Mouse.cs (1)
477PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.GetContainingVisual(relativeTo as DependencyObject));
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
218HwndSource inputSource = PresentationSource.FromDependencyObject(containingVisual) as HwndSource;