# C1.Win.Gauge.CommonItemCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Gauge_CommonItemCollection" data-uid="C1.Win.Gauge.CommonItemCollection" class="text-break">CommonItemCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a> objects.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">CommonItemCollection</span></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonBorderCollection.html">CommonBorderCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonColorMapCollection.html">CommonColorMapCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonFillingCollection.html">CommonFillingCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonFontCollection.html">CommonFontCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonGradientCollection.html">CommonGradientCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonImageCollection.html">CommonImageCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonImageMapCollection.html">CommonImageMapCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonShadowCollection.html">CommonShadowCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Win.Gauge.CommonShapeCollection.html">CommonShapeCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Gauge.html">C1.Win.Gauge</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Gauge.10.dll</h6>
  <h5 id="C1_Win_Gauge_CommonItemCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ListBindable(false)]
public class CommonItemCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ListBindable(False)&gt;
Public Class CommonItemCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</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="C1_Win_Gauge_CommonItemCollection_ClearAndDispose" data-uid="C1.Win.Gauge.CommonItemCollection.ClearAndDispose">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.ClearAndDispose.html#C1_Win_Gauge_CommonItemCollection_ClearAndDispose">ClearAndDispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all common items from the collection, then disposes the items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_Contains_System_String_" data-uid="C1.Win.Gauge.CommonItemCollection.Contains(System.String)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.Contains.html#C1_Win_Gauge_CommonItemCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this collection contains a <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a> with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_IndexOf_System_String_" data-uid="C1.Win.Gauge.CommonItemCollection.IndexOf(System.String)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.IndexOf.html#C1_Win_Gauge_CommonItemCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines index of the first <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a> with the specified name in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_Move_System_Int32_System_Int32_" data-uid="C1.Win.Gauge.CommonItemCollection.Move(System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.Move.html#C1_Win_Gauge_CommonItemCollection_Move_System_Int32_System_Int32_">Move(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the item with given index (fromIndex) to the new position (toIndex).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_OnClear" data-uid="C1.Win.Gauge.CommonItemCollection.OnClear">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.OnClear.html#C1_Win_Gauge_CommonItemCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of
the <a class="xref" href="C1.Win.Gauge.CommonItemCollection.html">CommonItemCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_OnClearComplete" data-uid="C1.Win.Gauge.CommonItemCollection.OnClearComplete">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.OnClearComplete.html#C1_Win_Gauge_CommonItemCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after clearing the contents of
the <a class="xref" href="C1.Win.Gauge.CommonItemCollection.html">CommonItemCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="C1.Win.Gauge.CommonItemCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.OnInsertComplete.html#C1_Win_Gauge_CommonItemCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after inserting a <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a>
into the <a class="xref" href="C1.Win.Gauge.CommonItemCollection.html">CommonItemCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.Win.Gauge.CommonItemCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.OnRemoveComplete.html#C1_Win_Gauge_CommonItemCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after removing a <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a>
from the <a class="xref" href="C1.Win.Gauge.CommonItemCollection.html">CommonItemCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_CommonItemCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="C1.Win.Gauge.CommonItemCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.Win.Gauge.CommonItemCollection.OnSetComplete.html#C1_Win_Gauge_CommonItemCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after setting a <a class="xref" href="C1.Win.Gauge.CommonItem.html">CommonItem</a>
in the <a class="xref" href="C1.Win.Gauge.CommonItemCollection.html">CommonItemCollection</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
