# FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_GetCellValue_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue*">GetCellValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_GetCellValue_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue*"></a>
<h4 id="FarPoint_Win_Spread_Data_DefaultSpreadDataViewDataFormatter_GetCellValue_FarPoint_Win_Spread_Cell_" data-uid="FarPoint.Win.Spread.Data.DefaultSpreadDataViewDataFormatter.GetCellValue(FarPoint.Win.Spread.Cell)">GetCellValue(Cell)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object GetCellValue(Cell cell)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetCellValue(cell As Cell) As Object</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a></td>
      <td><span class="parametername">cell</span></td>
      <td><p>Cell</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>Object with value in cell</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.Data.ISpreadDataViewDataFormatter.GetCellValue.html#FarPoint_Win_Spread_Data_ISpreadDataViewDataFormatter_GetCellValue_FarPoint_Win_Spread_Cell_">ISpreadDataViewDataFormatter.GetCellValue(Cell)</a></div>
</div>
