Skip to main content
All docs
V24.2

DxHtmlElement.FindElementById(String) Method

Returns an item of this element’s Children collection that has the target ID. If multiple items are present, it returns the first found item.

Namespace: DevExpress.Utils.Html

Assembly: DevExpress.Data.Desktop.v24.2.dll

Declaration

public DxHtmlElement FindElementById(
    string id
)

Parameters

Name Type Description
id String

The ID to search.

Returns

Type Description
DxHtmlElement

The HTML element with the target ID.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindElementById(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also