INameScope.

FindAsync(string) Method

Summary

Finds a named element in the name scope, waits for the scope to be completely populated before returning null Returned task is configured to run any continuations synchronously.
Namespace
Avalonia.Controls
Containing Type
INameScope

Syntax

SynchronousCompletionAsyncResult<object> FindAsync(string name)

Parameters

Name Type Description
name string The name.

Return Value

Type Description
SynchronousCompletionAsyncResult<object> The element, or null if the name was not found.