Skip to main content

Find Method

Finds a named element in the name scope, returns immediately, doesn't traverse the name scope stack

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Object? Find(
string name
)

Parameters

  String
The name.

Return Value

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

Implements

INameScope.Find(String)

See Also

Reference

NameScope Class
Avalonia.Controls Namespace