[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Selection.Item

this Property

this[int]

Retrieves the selected component at the specified index within the collection.

Declaration
public object this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based index of the component to retrieve.

Property Value
Type Description
object

The component at the specified index. If the index is out of range, this will throw an IndexOutOfRangeException.

Remarks

This indexer provides direct access to a specific component within the selection. It is useful for iterating over the selected components or accessing a component at a specific position.

Exceptions
Type Condition
IndexOutOfRangeException

Thrown when the index is outside the bounds of the collection.