ActiveReports 13
FindCommonVisualAncestor Method

GrapeCity.ActiveReports.Viewer.Wpf Assembly > GrapeCity.ActiveReports.Viewer.Wpf Namespace > Viewer Class : FindCommonVisualAncestor Method
A visual object of type System.Windows.DependencyObject.
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

Reference

Viewer Class
Viewer Members