15 references to GetContainingVisual
PresentationCore (15)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
531
DependencyObject containingVisual = InputElement.
GetContainingVisual
(elementDO);
Core\CSharp\System\Windows\Input\InputElement.cs (5)
182
v =
GetContainingVisual
(parent);
192
v =
GetContainingVisual
(parent);
218
DependencyObject rootVisual =
GetContainingVisual
(o);
264
DependencyObject vFromAsDO = InputElement.
GetContainingVisual
(from);
300
DependencyObject vTo = InputElement.
GetContainingVisual
(to);
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1753
DependencyObject containingVisual = InputElement.
GetContainingVisual
(o);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (2)
209
DependencyObject containingVisual = InputElement.
GetContainingVisual
(focus);
680
DependencyObject visualContainer = InputElement.
GetContainingVisual
(element);
Core\CSharp\System\Windows\Input\Mouse.cs (1)
482
PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.
GetContainingVisual
(relativeTo as DependencyObject));
Core\CSharp\System\Windows\Input\MouseDevice.cs (3)
418
DependencyObject containingVisual = InputElement.
GetContainingVisual
(eltDO);
643
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
811
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
595
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_captured as DependencyObject);
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
272
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);