# GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions

## Content

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



  <h1 id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions" class="text-break">ItemCollectionExtensions Class
</h1>
  <div class="markdown level0 summary"><p>Utility methods on IItemCollection.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ItemCollectionExtensions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.html">GrapeCity.ActiveReports.Extensibility.Rendering.Components</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ItemCollectionExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Downcast__2_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IItemCollection___0__" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast``2(GrapeCity.ActiveReports.Extensibility.Rendering.Components.IItemCollection{``0})">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast.html#GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Downcast__2_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IItemCollection___0__">Downcast&lt;TI, TO&gt;(IItemCollection&lt;TI&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Downcasts the items type within collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Empty__1" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Empty``1">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Empty.html#GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Empty__1">Empty&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets empty item collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToItemCollection__1_System_Collections_Generic_IEnumerable___0__" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToItemCollection``1(System.Collections.Generic.IEnumerable{``0})">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToItemCollection.html#GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToItemCollection__1_System_Collections_Generic_IEnumerable___0__">ToItemCollection&lt;T&gt;(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Wraps the list to item collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToItemCollection__1_System_Collections_Generic_IList___0__" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToItemCollection``1(System.Collections.Generic.IList{``0})">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToItemCollection.html#GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToItemCollection__1_System_Collections_Generic_IList___0__">ToItemCollection&lt;T&gt;(IList&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Wraps the list to item collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToLazyItemCollection__1_System_Collections_Generic_IEnumerable___0__" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToLazyItemCollection``1(System.Collections.Generic.IEnumerable{``0})">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToLazyItemCollection.html#GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_ToLazyItemCollection__1_System_Collections_Generic_IEnumerable___0__">ToLazyItemCollection&lt;T&gt;(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns lazy memoizable item collection for specified sequence.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
