Syncfusion.SfMenu.UWP
The element.

GetVisualAncestors Method

Helps to find the ancestor elements of the provided visual object by searching in visual tree.
Syntax
[Extension()]
public static IEnumerable<DependencyObject> GetVisualAncestors( 
   DependencyObject element
)

Parameters

element
The element.

Return Value

The visual tree ancestors of the element.
Exceptions
ExceptionDescription
element is null.
AssemblyVersion

Syncfusion.SfMenu.UWP: 16.4460.0.52

See Also