# C1.Win.C1Chart.LabelsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_LabelsCollection" data-uid="C1.Win.C1Chart.LabelsCollection" class="text-break">LabelsCollection Class
</h1>
  <div class="markdown level0 summary"><p>Contains all of the chart labels defined for a particular chart.</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">LabelsCollection</span></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.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_LabelsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LabelsCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LabelsCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection__ctor" data-uid="C1.Win.C1Chart.LabelsCollection.#ctor">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.-ctor.html#C1_Win_C1Chart_LabelsCollection__ctor">LabelsCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.C1Chart.LabelsCollection.html">LabelsCollection</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection__ctor_C1_Win_C1Chart_ChartLabels_" data-uid="C1.Win.C1Chart.LabelsCollection.#ctor(C1.Win.C1Chart.ChartLabels)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.-ctor.html#C1_Win_C1Chart_LabelsCollection__ctor_C1_Win_C1Chart_ChartLabels_">LabelsCollection(ChartLabels)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.C1Chart.LabelsCollection.html">LabelsCollection</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_Item_System_Int32_" data-uid="C1.Win.C1Chart.LabelsCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.Item.html#C1_Win_C1Chart_LabelsCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified label from the collection by numeric index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_Item_System_String_" data-uid="C1.Win.C1Chart.LabelsCollection.Item(System.String)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.Item.html#C1_Win_C1Chart_LabelsCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified label from the collection by name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_C1Chart_LabelsCollection_AddNewLabel" data-uid="C1.Win.C1Chart.LabelsCollection.AddNewLabel">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.AddNewLabel.html#C1_Win_C1Chart_LabelsCollection_AddNewLabel">AddNewLabel()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new label and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_IndexOf_C1_Win_C1Chart_Label_" data-uid="C1.Win.C1Chart.LabelsCollection.IndexOf(C1.Win.C1Chart.Label)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.IndexOf.html#C1_Win_C1Chart_LabelsCollection_IndexOf_C1_Win_C1Chart_Label_">IndexOf(Label)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific item in the <a class="xref" href="C1.Win.C1Chart.LabelsCollection.html">LabelsCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_InsertNewLabel_System_Int32_" data-uid="C1.Win.C1Chart.LabelsCollection.InsertNewLabel(System.Int32)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.InsertNewLabel.html#C1_Win_C1Chart_LabelsCollection_InsertNewLabel_System_Int32_">InsertNewLabel(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new label and inserts it into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_OnClear" data-uid="C1.Win.C1Chart.LabelsCollection.OnClear">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.OnClear.html#C1_Win_C1Chart_LabelsCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_OnClearComplete" data-uid="C1.Win.C1Chart.LabelsCollection.OnClearComplete">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.OnClearComplete.html#C1_Win_C1Chart_LabelsCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_OnInsert_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.LabelsCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.OnInsert.html#C1_Win_C1Chart_LabelsCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.LabelsCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.OnInsertComplete.html#C1_Win_C1Chart_LabelsCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_OnRemove_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.LabelsCollection.OnRemove(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.OnRemove.html#C1_Win_C1Chart_LabelsCollection_OnRemove_System_Int32_System_Object_">OnRemove(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_Remove_C1_Win_C1Chart_Label_" data-uid="C1.Win.C1Chart.LabelsCollection.Remove(C1.Win.C1Chart.Label)">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.Remove.html#C1_Win_C1Chart_LabelsCollection_Remove_C1_Win_C1Chart_Label_">Remove(Label)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the label specified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_LabelsCollection_RemoveAll" data-uid="C1.Win.C1Chart.LabelsCollection.RemoveAll">
          <a class="xref" href="C1.Win.C1Chart.LabelsCollection.RemoveAll.html#C1_Win_C1Chart_LabelsCollection_RemoveAll">RemoveAll()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all objects from the <a class="xref" href="C1.Win.C1Chart.LabelsCollection.html">LabelsCollection</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
