Progress® Telerik® Reporting R3 2018

ReportItemBaseItemCollectionGetChildIndex Method (ReportItemBase, Boolean)

Retrieves the index of the specified child report item within the item collection, and optionally raises an exception if the specified report item is not within the item collection.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll) Version: (


public virtual int GetChildIndex(
	ReportItemBase child,
	bool throwException


Type: Telerik.ReportingReportItemBase
The ReportItemBase to search for in the item collection.
Type: SystemBoolean
true to throw an exception if the ReportItemBase specified in the child parameter is not an item in the ReportItemBaseItemCollection; otherwise, false.

Return Value

Type: Int32
A zero-based index value that represents the location of the specified child report item within the item collection; otherwise -1 if the specified ReportItemBase is not found in the ReportItemBaseItemCollection.


ArgumentException The child is not contained in the collection and the throwException parameter is true.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article