Returns a Windows.UI.Xaml.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is null.
Overload List
Overload | Description |
GetParentOfType(DependencyObject,Type) | Returns a Windows.UI.Xaml.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is null. |
GetParentOfType(DependencyObject,Type,DependencyObject) | Returns a Windows.UI.Xaml.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is equal to the specified endObject. |
GetParentOfType(DependencyObject,Type,Boolean) | Returns a Windows.UI.Xaml.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is null. |
GetParentOfType(DependencyObject,Type,DependencyObject,Boolean) | Returns a Windows.UI.Xaml.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is equal to the specified endObject. |
See Also