Back to Devexpress

XRControlCollection.Item[String] Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcontrolcollection-dot-item-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

XRControlCollection.Item[String] Property

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public XRControl this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As XRControl

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
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

XRControlCollection Class

XRControlCollection Members

DevExpress.XtraReports.UI Namespace