# FarPoint.Win.Spread.Data.SpreadDataView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Data_SpreadDataView" data-uid="FarPoint.Win.Spread.Data.SpreadDataView" class="text-break">SpreadDataView Class
</h1>
  <div class="markdown level0 summary"><p>Represents a data view of a sheet in a Spread.</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</a>&gt;</div>
    <div class="level3"><span class="xref">SpreadDataView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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="FarPoint.Win.Spread.Data.SpreadDataRowView.html">SpreadDataRowView</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.Data.html">FarPoint.Win.Spread.Data</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_Data_SpreadDataView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SpreadDataView : BindingList&lt;SpreadDataRowView&gt;, IList&lt;SpreadDataRowView&gt;, ICollection&lt;SpreadDataRowView&gt;, IReadOnlyList&lt;SpreadDataRowView&gt;, IReadOnlyCollection&lt;SpreadDataRowView&gt;, IEnumerable&lt;SpreadDataRowView&gt;, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SpreadDataView
    Inherits BindingList(Of SpreadDataRowView)
    Implements IList(Of SpreadDataRowView), ICollection(Of SpreadDataRowView), IReadOnlyList(Of SpreadDataRowView), IReadOnlyCollection(Of SpreadDataRowView), IEnumerable(Of SpreadDataRowView), IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents, IDisposable</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_Data_SpreadDataView__ctor_FarPoint_Win_Spread_FpSpread_System_String_" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.#ctor(FarPoint.Win.Spread.FpSpread,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.-ctor.html#FarPoint_Win_Spread_Data_SpreadDataView__ctor_FarPoint_Win_Spread_FpSpread_System_String_">SpreadDataView(FpSpread, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.html">SpreadDataView</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView__ctor_FarPoint_Win_Spread_FpSpread_System_String_FarPoint_Win_Spread_Data_ISpreadDataViewMapper_" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.#ctor(FarPoint.Win.Spread.FpSpread,System.String,FarPoint.Win.Spread.Data.ISpreadDataViewMapper)">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.-ctor.html#FarPoint_Win_Spread_Data_SpreadDataView__ctor_FarPoint_Win_Spread_FpSpread_System_String_FarPoint_Win_Spread_Data_ISpreadDataViewMapper_">SpreadDataView(FpSpread, string, ISpreadDataViewMapper)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.html">SpreadDataView</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="FarPoint_Win_Spread_Data_SpreadDataView_Columns" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.Columns">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.Columns.html#FarPoint_Win_Spread_Data_SpreadDataView_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_Mapper" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.Mapper">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.Mapper.html#FarPoint_Win_Spread_Data_SpreadDataView_Mapper">Mapper</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mapper of the Spread data view.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_SheetView" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.SheetView">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.SheetView.html#FarPoint_Win_Spread_Data_SpreadDataView_SheetView">SheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sheet.</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_Data_SpreadDataView_AddNewCore" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.AddNewCore">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.AddNewCore.html#FarPoint_Win_Spread_Data_SpreadDataView_AddNewCore">AddNewCore()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new item to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_ClearItems" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.ClearItems">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.ClearItems.html#FarPoint_Win_Spread_Data_SpreadDataView_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_Dispose" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.Dispose">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.Dispose.html#FarPoint_Win_Spread_Data_SpreadDataView_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_EnsureDataBound" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.EnsureDataBound">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.EnsureDataBound.html#FarPoint_Win_Spread_Data_SpreadDataView_EnsureDataBound">EnsureDataBound()</a>
        </td>
        <td class="markdown level1 summary"><p>Validates this Spread data view.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_SpreadDataView_OnListChanged_System_ComponentModel_ListChangedEventArgs_" data-uid="FarPoint.Win.Spread.Data.SpreadDataView.OnListChanged(System.ComponentModel.ListChangedEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.Data.SpreadDataView.OnListChanged.html#FarPoint_Win_Spread_Data_SpreadDataView_OnListChanged_System_ComponentModel_ListChangedEventArgs_">OnListChanged(ListChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.bindinglist-1.listchanged">ListChanged</a> event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
