INameScope Interface
Defines a name scope.
Namespace: Avalonia.ControlsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface INameScope
<NotClientImplementableAttribute>
Public Interface INameScope
[<NotClientImplementableAttribute>]
type INameScope = interface end
| IsCompleted |
Returns whether further registrations are allowed on the scope
|
| Complete |
Marks the name scope as completed, no further registrations will be allowed
|
| Find(String) |
Finds a named element in the name scope, returns immediately, doesn't traverse the name scope stack
|
| FindAsync(String) |
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.
|
| Register(String, Object) |
Registers an element in the name scope.
|