ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Viewer.Wpf Assembly / GrapeCity.ActiveReports.Viewer.Wpf Namespace / Viewer Class / FindCommonVisualAncestor Method
A visual object of type System.Windows.DependencyObject.

In This Topic
    FindCommonVisualAncestor Method
    In This Topic
    Returns the common ancestor of two visual objects.
    Syntax
    '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.
    See Also