# FarPoint.Win.Spread.Data.ISpreadDataViewMapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper" class="text-break">ISpreadDataViewMapper Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the coordinate mapper from Spread data view to its underlying sheet.</p>
</div>
  <div class="markdown level0 conceptual"></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_ISpreadDataViewMapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISpreadDataViewMapper : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISpreadDataViewMapper
    Inherits INotifyPropertyChanged</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_Data_ISpreadDataViewMapper_DataViewColumnCount" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.DataViewColumnCount">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.DataViewColumnCount.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_DataViewColumnCount">DataViewColumnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of columns in the data view.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_DataViewRowCount" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.DataViewRowCount">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.DataViewRowCount.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_DataViewRowCount">DataViewRowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows in the data view.</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_ISpreadDataViewMapper_GetDataViewColumnFromModelColumn_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewColumnFromModelColumn(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewColumnFromModelColumn.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetDataViewColumnFromModelColumn_System_Int32_">GetDataViewColumnFromModelColumn(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data view column from model column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetDataViewRowFromModelRow_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewRowFromModelRow(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewRowFromModelRow.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetDataViewRowFromModelRow_System_Int32_">GetDataViewRowFromModelRow(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data view row from model row.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetDataViewRowFromModelRowWhenAddNew_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewRowFromModelRowWhenAddNew(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetDataViewRowFromModelRowWhenAddNew.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetDataViewRowFromModelRowWhenAddNew_System_Int32_">GetDataViewRowFromModelRowWhenAddNew(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data view row from model row when add new row.
This method is only used when add a new row to sheetview</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetModelColumnFromDataViewColumn_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetModelColumnFromDataViewColumn(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetModelColumnFromDataViewColumn.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetModelColumnFromDataViewColumn_System_Int32_">GetModelColumnFromDataViewColumn(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the model column from data view column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetModelRowFromDataViewRow_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetModelRowFromDataViewRow(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.GetModelRowFromDataViewRow.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_GetModelRowFromDataViewRow_System_Int32_">GetModelRowFromDataViewRow(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the model row from data view row.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_IsValid_FarPoint_Win_Spread_SheetView_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.IsValid(FarPoint.Win.Spread.SheetView)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.IsValid.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_IsValid_FarPoint_Win_Spread_SheetView_">IsValid(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this mapper is valid in the specified sheet.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataModelRowInserted_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataModelRowInserted(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataModelRowInserted.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataModelRowInserted_System_Int32_">OnDataModelRowInserted(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data model row is inserted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataModelRowRemoved_System_Int32_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataModelRowRemoved(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataModelRowRemoved.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataModelRowRemoved_System_Int32_">OnDataModelRowRemoved(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data model row is removed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataReset_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataReset(System.Int32,System.Int32,System.ComponentModel.PropertyDescriptor)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataReset.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataReset_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_">OnDataReset(int, int, PropertyDescriptor)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data is reset.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowAdded_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowAdded(System.Int32,System.Int32,System.ComponentModel.PropertyDescriptor)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowAdded.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowAdded_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_">OnDataRowAdded(int, int, PropertyDescriptor)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data row is added.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowChanged_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowChanged(System.Int32,System.Int32,System.ComponentModel.PropertyDescriptor)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowChanged.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowChanged_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_">OnDataRowChanged(int, int, PropertyDescriptor)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data row is changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowDeleted_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowDeleted(System.Int32,System.Int32,System.ComponentModel.PropertyDescriptor)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowDeleted.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowDeleted_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_">OnDataRowDeleted(int, int, PropertyDescriptor)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data row is deleted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowMoved_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_" data-uid="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowMoved(System.Int32,System.Int32,System.ComponentModel.PropertyDescriptor)">
          <a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewMapper.OnDataRowMoved.html#FarPoint_Win_Spread_Data_ISpreadDataViewMapper_OnDataRowMoved_System_Int32_System_Int32_System_ComponentModel_PropertyDescriptor_">OnDataRowMoved(int, int, PropertyDescriptor)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data row is moved.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
