'Declaration Public Function FindCommonVisualAncestor( _ ByVal otherVisual As DependencyObject _ ) As DependencyObject
public DependencyObject FindCommonVisualAncestor( DependencyObject otherVisual )
Parameters
- otherVisual
- A visual object of type System.Windows.DependencyObject.
Return Value
The common ancestor of the visual object and otherVisual if one exists; otherwise, null.