Skip to main content

FindAsync 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)

SynchronousCompletionAsyncResult<Object> FindAsync(
string name
)
View Source

Parameters

  String
The name.

Return Value

SynchronousCompletionAsyncResult(Object)
The element, or null if the name was not found.

See Also

Reference

INameScope Interface
Avalonia.Controls Namespace