NameScopeExtensions.FindByName<T>(Element, String) Método
Definición
Devuelve la instancia del tipo T
que tiene el nombre name
en el ámbito que incluye element
.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
Parámetros de tipo
- T
El tipo de instancia para buscar.The type of instance to find.
Parámetros
- element
- Element
Un elemento en el ámbito de búsqueda.An element in the scope to search.
- name
- String
Nombre del elemento que se va a buscar.The name of the element to find.
Devoluciones
- T