ComponentOne Carousel for WPF and Silverlight
IsAncestorOf Method (ExtensionMethods)

C1.Silverlight.Carousel Namespace > ExtensionMethods Class : IsAncestorOf Method
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function IsAncestorOf( _
   ByVal elem As System.Windows.UIElement, _
   ByVal descendant As System.Windows.DependencyObject _
) As System.Boolean
[System.Runtime.CompilerServices.Extension()]
public static System.bool IsAncestorOf( 
   System.Windows.UIElement elem,
   System.Windows.DependencyObject descendant
)

Parameters

elem
descendant
See Also

Reference

ExtensionMethods Class
ExtensionMethods Members