Skip to main content

XRControlCollection.Item[String] Property

Provides access to individual items in the collection by their names.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public XRControl this[string name] { get; }

Parameters

Name Type Description
name String

A String value specifying the name of the control to get.

Property Value

Type Description
XRControl

An XRControl object which represents the control with the specified name.

Remarks

This property searches the collection for the control whose name matches the parameter’s value, and returns this control. If no such object is found, the indexer returns null (Nothing in Visual Basic).

See Also