ElementExtensions - markjulmar/xamu-infrastructure GitHub Wiki
ElementExtensions
A set of extension methods on the Xamarin.Forms Element class.
Methods
-
FindOwner: a method to locate a specific type in the parent/child tree, starting at a given element and moving backwards. -
FindResource: locates a named resource, starting at a specific element and walking up the visual tree. Throws an exception if the resource does not exist. -
TryFindResource: locates a named resource, starting at a specific element and walking up the visual tree. Returns true/false based on whether the resource exists.