INameScopeFindAsync Method

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.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
SynchronousCompletionAsyncResult<Object> FindAsync(
	string name
)

Parameters

name  String
The name.

Return Value

SynchronousCompletionAsyncResultObject
The element, or null if the name was not found.

See Also