# GrapeCity.ActiveReports.Design.Selection.Item

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Design_Selection_Item_" data-uid="GrapeCity.ActiveReports.Design.Selection.Item*">this Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Selection_Item_" data-uid="GrapeCity.ActiveReports.Design.Selection.Item*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Selection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.Design.Selection.Item(System.Int32)">this[int]</h4>
<div class="markdown level1 summary"><p>Retrieves the selected component at the specified index within the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object this[int index] { get; }</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The zero-based index of the component to retrieve.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>The component at the specified index. If the index is out of range, this will throw an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Selection_Item_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Thrown when the <code class="paramref">index</code> is outside the bounds of the collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
