# GrapeCity.ActiveReports.PageReportModel.Field.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_Field__ctor_" data-uid="GrapeCity.ActiveReports.PageReportModel.Field.#ctor*">Field Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Field__ctor_" data-uid="GrapeCity.ActiveReports.PageReportModel.Field.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Field__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Field.#ctor">Field()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Field.html">Field</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Field()</code></pre>
</div>


<a id="GrapeCity_ActiveReports_PageReportModel_Field__ctor_" data-uid="GrapeCity.ActiveReports.PageReportModel.Field.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Field__ctor_System_String_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_" data-uid="GrapeCity.ActiveReports.PageReportModel.Field.#ctor(System.String,System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo)">Field(string, string, ExpressionInfo)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Field.html">Field</a> class using a specified name, data field, and value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Field(string name, string dataField, ExpressionInfo value)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name to use for the field.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dataField</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the data field to use.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object that evaluates to the value of the field.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
