Back to Devexpress

XRControl.FindControl(String, Boolean) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcontrol-dot-findcontrol-x28-system-dot-string-system-dot-boolean-x29.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public XRControl FindControl(
    string name,
    bool ignoreCase
)
vb
Public Function FindControl(
    name As String,
    ignoreCase As Boolean
) As XRControl

Parameters

NameTypeDescription
nameString

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

TypeDescription
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

XRControl Class

XRControl Members

DevExpress.XtraReports.UI Namespace