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)
- C#
- VB
- F#
SynchronousCompletionAsyncResult<Object> FindAsync(
string name
)
Function FindAsync (
name As String
) As SynchronousCompletionAsyncResult(Of Object)
abstract FindAsync :
name : string -> SynchronousCompletionAsyncResult<Object>
Parameters
- String
- The name.
Return Value
SynchronousCompletionAsyncResult(Object)
The element, or null if the name was not found.