Xamarin.Forms Guides | Samples

Xamarin.Forms.NameScopeExtensions Class

Extension methods for Element and INameScope that add strongly-typed FindByName methods.

See Also: NameScopeExtensions

Syntax

public static class NameScopeExtensions

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.NameScopeExtensions are listed below.

See Also: Object

Public Methods

static
FindByName<T>(this Element, String) : T
Returns the instance of type T that has name T in the scope that includes element.