NameScopeExtensions.FindByName(Element, String) NameScopeExtensions.FindByName(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 Element

An element in the scope to search.

name
String String

The name of the element to find.

Returns
T T

Applies to