Table of Contents

Method TryFindElement

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TryFindElement(string?)

Recursively searches all child elements for an element with the specified name, and returns that element if found.

public virtual FrameworkElement? TryFindElement(string? name)

Parameters

name string

The name of the element to be found.

Returns

FrameworkElement

The found element, or null if no element with the provided name is found.