Summary
Finds a named element in an
INameScope
.
- Namespace
- Avalonia
.Controls - Containing Type
- NameScopeExtensions
Syntax
public static T Find<T>(this INameScope nameScope, string name) where T : class
Type Parameters
Name | Description |
---|---|
T | The element type. |
Parameters
Name | Type | Description |
---|---|---|
nameScope | INameScope | The name scope. |
name | string | The name. |
Return Value
Type | Description |
---|---|
T | The named element or null if not found. |