ExtensionMethods.FindCommonAncestor Method (DependencyObject, DependencyObject)
Visual Studio 2015
Microsoft internal use only.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public static DependencyObject FindCommonAncestor( this DependencyObject obj1, DependencyObject obj2 )
Parameters
- obj1
-
Type:
System.Windows.DependencyObject
The first object.
- obj2
-
Type:
System.Windows.DependencyObject
The second object.
Return Value
Type: System.Windows.DependencyObject
Show: