# FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter" class="text-break">DefaultSpreadDataViewDataFormatter Class
</h1>
  <div class="markdown level0 summary"><p>Represents the default behavior of data transfer between data model and Spread data view.</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">DefaultSpreadDataViewDataFormatter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewDataFormatter.html">ISpreadDataViewDataFormatter</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_DefaultSpreadDataViewDataFormatter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DefaultSpreadDataViewDataFormatter : ISpreadDataViewDataFormatter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DefaultSpreadDataViewDataFormatter
    Implements ISpreadDataViewDataFormatter</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_DefaultSpreadDataViewDataFormatter__ctor_FarPoint_Win_Spread_Data_SpreadDataColumn_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.#ctor(FarPoint.Win.Spread.Data.SpreadDataColumn)">
          <a class="xref" href="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.-ctor.html#FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter__ctor_FarPoint_Win_Spread_Data_SpreadDataColumn_">DefaultSpreadDataViewDataFormatter(SpreadDataColumn)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.html">DefaultSpreadDataViewDataFormatter</a> class.</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_DefaultSpreadDataViewDataFormatter_GetCellValue_FarPoint_Win_Spread_Cell_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue(FarPoint.Win.Spread.Cell)">
          <a class="xref" href="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue.html#FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_GetCellValue_FarPoint_Win_Spread_Cell_">GetCellValue(Cell)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cell value from the data model.
Convert from cell value to the datatype of SpreadDataColumn.
If success return the converted value, otherwise return DBNull.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_SetCellValue_FarPoint_Win_Spread_Cell_System_Object_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.SetCellValue(FarPoint.Win.Spread.Cell,System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.SetCellValue.html#FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_SetCellValue_FarPoint_Win_Spread_Cell_System_Object_">SetCellValue(Cell, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the new cell value to the data model.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
