Skip to main content
A newer version of this page is available. .

XRControl.FindControl(String, Boolean) Method

Finds the control that has the specified name in the XRControl.Controls collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public XRControl FindControl(
    string name,
    bool ignoreCase
)

Parameters

Name Type Description
name String

A String specifying the name of the control to find.

ignoreCase Boolean

true to ignore the case of the parameter name and the names of the controls in the XRControl.Controls collection; otherwise, false.

Returns

Type Description
XRControl

An XRControl object which has the specified name and is contained in the XRControl.Controls collection. If there isn’t any control with the specified name in the collection of child controls, then null (Nothing in Visual Basic).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindControl(String, Boolean) 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