NameScopeExtensions.

Find<T>(ILogical, string) Method

Summary

Finds a named element in an INameScope.
Namespace
Avalonia.Controls
Containing Type
NameScopeExtensions

Syntax

public static T Find<T>(this ILogical anchor, string name) where T : class

Type Parameters

Name Description
T The element type.

Parameters

Name Type Description
anchor ILogical The control to take the name scope from.
name string The name.

Return Value

Type Description
T The named element or null if not found.