# FarPoint.Win.Spread.TableStyleCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_TableStyleCollection" data-uid="FarPoint.Win.Spread.TableStyleCollection" class="text-break">TableStyleCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a table style manager.</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">TableStyleCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</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_TableStyleCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableStyleCollection : IEnumerable, ISerializeSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableStyleCollection
    Implements IEnumerable, ISerializeSupport, ISerializable</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="FarPoint_Win_Spread_TableStyleCollection__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.TableStyleCollection.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.-ctor.html#FarPoint_Win_Spread_TableStyleCollection__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">TableStyleCollection(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.html">TableStyleCollection</a> from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a> object.</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="FarPoint_Win_Spread_TableStyleCollection_BuiltInTableStyleName" data-uid="FarPoint.Win.Spread.TableStyleCollection.BuiltInTableStyleName">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.BuiltInTableStyleName.html#FarPoint_Win_Spread_TableStyleCollection_BuiltInTableStyleName">BuiltInTableStyleName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets list of names of built-in table style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_Count" data-uid="FarPoint.Win.Spread.TableStyleCollection.Count">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Count.html#FarPoint_Win_Spread_TableStyleCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets number of table style in collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_DefaultStyle" data-uid="FarPoint.Win.Spread.TableStyleCollection.DefaultStyle">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.DefaultStyle.html#FarPoint_Win_Spread_TableStyleCollection_DefaultStyle">DefaultStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets default style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_Item_System_Int32_" data-uid="FarPoint.Win.Spread.TableStyleCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Item.html#FarPoint_Win_Spread_TableStyleCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="FarPoint.Win.Spread.TableStyle.html">TableStyle</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_Item_System_String_" data-uid="FarPoint.Win.Spread.TableStyleCollection.Item(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Item.html#FarPoint_Win_Spread_TableStyleCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a table style 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="FarPoint_Win_Spread_TableStyleCollection_Add_FarPoint_Win_Spread_TableStyle_" data-uid="FarPoint.Win.Spread.TableStyleCollection.Add(FarPoint.Win.Spread.TableStyle)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Add.html#FarPoint_Win_Spread_TableStyleCollection_Add_FarPoint_Win_Spread_TableStyle_">Add(TableStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a table style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_Clear" data-uid="FarPoint.Win.Spread.TableStyleCollection.Clear">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Clear.html#FarPoint_Win_Spread_TableStyleCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clear style collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_" data-uid="FarPoint.Win.Spread.TableStyleCollection.DeserializeEntry(System.Runtime.Serialization.SerializationEntry)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.DeserializeEntry.html#FarPoint_Win_Spread_TableStyleCollection_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_">DeserializeEntry(SerializationEntry)</a>
        </td>
        <td class="markdown level1 summary"><p>Deserialize for each binary entry</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_GetEnumerator" data-uid="FarPoint.Win.Spread.TableStyleCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.GetEnumerator.html#FarPoint_Win_Spread_TableStyleCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Get table style enumerator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_TableStyleCollection_Remove_System_String_" data-uid="FarPoint.Win.Spread.TableStyleCollection.Remove(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.Remove.html#FarPoint_Win_Spread_TableStyleCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove a table style.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_TableStyleCollection_CollectionChanged" data-uid="FarPoint.Win.Spread.TableStyleCollection.CollectionChanged">
          <a class="xref" href="FarPoint.Win.Spread.TableStyleCollection.CollectionChanged.html">CollectionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when there was a changed in the style collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
