NameScopeExtensions.FindByName<T>(Element, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the instance of type T
that has name name
in the scope that includes element
.
public static T FindByName<T> (this Xamarin.Forms.Element element, string name);
static member FindByName : Xamarin.Forms.Element * string -> 'T
Type Parameters
- T
The type of instance to find.
Parameters
- element
- Element
An element in the scope to search.
- name
- System.String
The name of the element to find.
Returns
T