# FarPoint.Win.Spread.CustomIconContainer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CustomIconContainer" data-uid="FarPoint.Win.Spread.CustomIconContainer" class="text-break">CustomIconContainer Class
</h1>
  <div class="markdown level0 summary"><p>Provides an icon object container.</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">CustomIconContainer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ICanSerializeXml.html">ICanSerializeXml</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CustomIconContainer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class CustomIconContainer : ICanSerializeXml, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class CustomIconContainer
    Implements ICanSerializeXml, ISerializeSupport</code></pre>
  </div>
  <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="FarPoint_Win_Spread_CustomIconContainer_Count" data-uid="FarPoint.Win.Spread.CustomIconContainer.Count">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.Count.html#FarPoint_Win_Spread_CustomIconContainer_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of contained icon objects.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_Item_System_Int32_" data-uid="FarPoint.Win.Spread.CustomIconContainer.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.Item.html#FarPoint_Win_Spread_CustomIconContainer_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an icon object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_Item_System_String_" data-uid="FarPoint.Win.Spread.CustomIconContainer.Item(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.Item.html#FarPoint_Win_Spread_CustomIconContainer_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an icon object using the specified 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="FarPoint_Win_Spread_CustomIconContainer_AddIcon_System_String_System_Drawing_Icon_" data-uid="FarPoint.Win.Spread.CustomIconContainer.AddIcon(System.String,System.Drawing.Icon)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.AddIcon.html#FarPoint_Win_Spread_CustomIconContainer_AddIcon_System_String_System_Drawing_Icon_">AddIcon(string, Icon)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an icon object into a container.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_Clear" data-uid="FarPoint.Win.Spread.CustomIconContainer.Clear">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.Clear.html#FarPoint_Win_Spread_CustomIconContainer_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears all icon objects from the container.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_Contains_System_String_" data-uid="FarPoint.Win.Spread.CustomIconContainer.Contains(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.Contains.html#FarPoint_Win_Spread_CustomIconContainer_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether an icon object with the specified name is in the container.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_GetIndex_System_String_" data-uid="FarPoint.Win.Spread.CustomIconContainer.GetIndex(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.GetIndex.html#FarPoint_Win_Spread_CustomIconContainer_GetIndex_System_String_">GetIndex(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets index of special Icon's Name</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_GetName_System_Int32_" data-uid="FarPoint.Win.Spread.CustomIconContainer.GetName(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.GetName.html#FarPoint_Win_Spread_CustomIconContainer_GetName_System_Int32_">GetName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Icon's Name at special index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_InsertIcon_System_Int32_System_String_System_Drawing_Icon_" data-uid="FarPoint.Win.Spread.CustomIconContainer.InsertIcon(System.Int32,System.String,System.Drawing.Icon)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.InsertIcon.html#FarPoint_Win_Spread_CustomIconContainer_InsertIcon_System_Int32_System_String_System_Drawing_Icon_">InsertIcon(int, string, Icon)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an icon object into a container with the specified name at a specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_RemoveIcon_System_Int32_" data-uid="FarPoint.Win.Spread.CustomIconContainer.RemoveIcon(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.RemoveIcon.html#FarPoint_Win_Spread_CustomIconContainer_RemoveIcon_System_Int32_">RemoveIcon(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an icon object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CustomIconContainer_RemoveIcon_System_String_" data-uid="FarPoint.Win.Spread.CustomIconContainer.RemoveIcon(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CustomIconContainer.RemoveIcon.html#FarPoint_Win_Spread_CustomIconContainer_RemoveIcon_System_String_">RemoveIcon(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an icon object with the specified name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
