# C1.Win.GanttView.FieldStyleCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_FieldStyleCollection" data-uid="C1.Win.GanttView.FieldStyleCollection" class="text-break">FieldStyleCollection Class
</h1>
  <div class="markdown level0 summary"><p>The collection of field styles.</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.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.bindinglist-1">BindingList</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div class="level3"><span class="xref">FieldStyleCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.ibindinglist">IBindingList</a></div>
    <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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icanceladdnew">ICancelAddNew</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.iraiseitemchangedevents">IRaiseItemChangedEvents</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_FieldStyleCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FieldStyleCollection : BindingList&lt;FieldStyle&gt;, IList&lt;FieldStyle&gt;, ICollection&lt;FieldStyle&gt;, IReadOnlyList&lt;FieldStyle&gt;, IReadOnlyCollection&lt;FieldStyle&gt;, IEnumerable&lt;FieldStyle&gt;, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FieldStyleCollection
    Inherits BindingList(Of FieldStyle)
    Implements IList(Of FieldStyle), ICollection(Of FieldStyle), IReadOnlyList(Of FieldStyle), IReadOnlyCollection(Of FieldStyle), IEnumerable(Of FieldStyle), IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents</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_GanttView_FieldStyleCollection__ctor" data-uid="C1.Win.GanttView.FieldStyleCollection.#ctor">
          <a class="xref" href="C1.Win.GanttView.FieldStyleCollection.-ctor.html#C1_Win_GanttView_FieldStyleCollection__ctor">FieldStyleCollection()</a>
        </td>
        <td class="markdown level1 summary"></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_GanttView_FieldStyleCollection_AddFieldStyle_C1_Win_GanttView_StyleField_System_String_" data-uid="C1.Win.GanttView.FieldStyleCollection.AddFieldStyle(C1.Win.GanttView.StyleField,System.String)">
          <a class="xref" href="C1.Win.GanttView.FieldStyleCollection.AddFieldStyle.html#C1_Win_GanttView_FieldStyleCollection_AddFieldStyle_C1_Win_GanttView_StyleField_System_String_">AddFieldStyle(StyleField, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds new field style to collection base on property and its name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyleCollection_CreateFieldStyle_C1_Win_GanttView_StyleField_System_String_" data-uid="C1.Win.GanttView.FieldStyleCollection.CreateFieldStyle(C1.Win.GanttView.StyleField,System.String)">
          <a class="xref" href="C1.Win.GanttView.FieldStyleCollection.CreateFieldStyle.html#C1_Win_GanttView_FieldStyleCollection_CreateFieldStyle_C1_Win_GanttView_StyleField_System_String_">CreateFieldStyle(StyleField, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal uses only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyleCollection_InsertItem_System_Int32_C1_Win_GanttView_FieldStyle_" data-uid="C1.Win.GanttView.FieldStyleCollection.InsertItem(System.Int32,C1.Win.GanttView.FieldStyle)">
          <a class="xref" href="C1.Win.GanttView.FieldStyleCollection.InsertItem.html#C1_Win_GanttView_FieldStyleCollection_InsertItem_System_Int32_C1_Win_GanttView_FieldStyle_">InsertItem(int, FieldStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the specified item in the list at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyleCollection_OnListChanged_System_ComponentModel_ListChangedEventArgs_" data-uid="C1.Win.GanttView.FieldStyleCollection.OnListChanged(System.ComponentModel.ListChangedEventArgs)">
          <a class="xref" href="C1.Win.GanttView.FieldStyleCollection.OnListChanged.html#C1_Win_GanttView_FieldStyleCollection_OnListChanged_System_ComponentModel_ListChangedEventArgs_">OnListChanged(ListChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ListChanged event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
