forked from xamarinhq/xamu-infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
ElementExtensions
Mark Smith edited this page Aug 29, 2016
·
1 revision
A set of extension methods on the Xamarin.Forms Element class.
-
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.