Table of Contents

Method TryFindElement

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

TryFindElement(string)

Recursively searches all LogicalChildrenCollection for a control with the specified name, and returns that control if found.

public FrameworkElement? TryFindElement(string name)

Parameters

name string

The name of the control to be found.

Returns

FrameworkElement

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