Progress® Telerik® Reporting R3 2017

ReportItemBaseItemCollection Class

Represents a collection of ReportItemBase objects.

Inheritance Hierarchy

SystemObject
  System.Collections.ObjectModelCollectionReportItemBase
    Telerik.ReportingReportItemBaseItemCollection

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

Syntax

public class ItemCollection : Collection<ReportItemBase>

The ReportItemBaseItemCollection type exposes the following members.

Constructors

  NameDescription
Public methodReportItemBaseItemCollection
Initializes a new instance of the ReportItemBaseItemCollection class.
Top

Properties

  NameDescription
Public propertyItem
Returns the ReportItemBase with the specified key in the collection.
Top

Methods

  NameDescription
Public methodAddRange
Adds an array of report item objects to the collection.
Protected methodClearItems (Overrides CollectionTClearItems.)
Public methodContainsKey
Determines whether the ReportItemBase.ItemCollection contains an item with the specified key.
Public methodFind(Type)
Searches for report items by their Type and builds an array of all the items that match.
Public methodFind(String, Boolean)
Searches for report items by their Name property and builds an array of all the report items that match.
Public methodFind(Type, Boolean)
Searches for report items by their Type and builds an array of all the items that match.
Public methodFindItem
Searches the collection for a report item of the specified type.
Public methodGetChildIndex(ReportItemBase)
Retrieves the index of a report item within the item collection.
Public methodGetChildIndex(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.
Public methodIndexOfKey
Retrieves the index of the first occurrence of the specified item within the collection.
Protected methodInsertItem
Overrides the InsertItem(Int32, T) method.
(Overrides CollectionTInsertItem(Int32, T).)
Public methodRemoveByKey
Removes the child report item with the specified key.
Protected methodRemoveItem
Overrides the RemoveItem(Int32) method.
(Overrides CollectionTRemoveItem(Int32).)
Protected methodSetItem (Overrides CollectionTSetItem(Int32, T).)
Top

Remarks

The Add(T), Remove(T), and RemoveAt(Int32) methods enable you to add and remove individual items from the collection. You can also use the AddRange(ReportItemBase) or Clear methods to add or remove all the items from the collection. You can determine if a ReportItemBase is a member of the collection by passing the item into the Contains(T) method. To get the index value of the location of a ReportItemBase in the collection, pass the item into the IndexOf(T) method. The collection can be copied into an array by calling the CopyTo(T, Int32) method.

See Also