Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

See Also