NameScopeExtensionsFindT(ILogical, String) Method
Namespace: Avalonia.ControlsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static T Find<T>(
this ILogical anchor,
string name
)
where T : class
<ExtensionAttribute>
Public Shared Function Find(Of T As Class) (
anchor As ILogical,
name As String
) As T
[<ExtensionAttribute>]
static member Find :
anchor : ILogical *
name : string -> 'T when 'T : not struct
- anchor ILogical
- The control to take the name scope from.
- name String
- The name.
- T
- The element type.
TThe named element or null if not found.In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogical. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).