# GrapeCity.Wpf.SpreadSheet.DataField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_DataField" data-uid="GrapeCity.Wpf.SpreadSheet.DataField" class="text-break">DataField Class
</h1>
  <div class="markdown level0 summary"><p>Provides the abstract base class for the data field. The data field binds a column to the data source and is used to get and set the value of the data source.
Each <a class="xref" href="GrapeCity.Wpf.SpreadSheet.ColumnInfo.html">ColumnInfo</a> should assign a data field when you bind a data source to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.SheetInfo.DataSource.html#GrapeCity_Wpf_SpreadSheet_SheetInfo_DataSource">DataSource</a>.</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">DataField</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.BindingDataField.html">BindingDataField</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.PropertyDataField.html">PropertyDataField</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.html">GrapeCity.Wpf.SpreadSheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_DataField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(DataFieldConverter))]
public abstract class DataField</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(DataFieldConverter))&gt;
Public MustInherit Class DataField</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="GrapeCity_Wpf_SpreadSheet_DataField__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.DataField.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.DataField.-ctor.html#GrapeCity_Wpf_SpreadSheet_DataField__ctor">DataField()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
