Interface IUIElementWithChildren
A base interface for all UI elements that can have children elements.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUIElementWithChildren : IUIElement
Methods
GetChildElementById(string)
Gets the first child element with the specified id.
Declaration
IUIElement? GetChildElementById(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The id of a child element. |
Returns
| Type | Description |
|---|---|
| IUIElement | Returns null if the element could not be found. If many elements have the name id, this method returns the first it finds |