Skip to main content

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.v24.1.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).

See Also