NameScopeExtensions.FindByName<T>(Element, String) Method

Definition

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

Applies to