FrameworkElementExtensions.GetAncestorType(DependencyObject) Method

Definition

Gets the Type of Ancestor to look for from this element.

public static Type GetAncestorType (Windows.UI.Xaml.DependencyObject obj);
static member GetAncestorType : Windows.UI.Xaml.DependencyObject -> Type
Public Function GetAncestorType (obj As DependencyObject) As Type

Parameters

obj
Windows.UI.Xaml.DependencyObject

Returns

Type of Ancestor to look for from this element

Applies to