# C1.Web.Mvc.CalculatedField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_CalculatedField" data-uid="C1.Web.Mvc.CalculatedField" class="text-break">CalculatedField Class
</h1>
  <div class="markdown level0 summary"><p>Calculated Field.</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">CalculatedField</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_CalculatedField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalculatedField</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalculatedField</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="C1_Web_Mvc_CalculatedField__ctor" data-uid="C1.Web.Mvc.CalculatedField.#ctor">
          <a class="xref" href="C1.Web.Mvc.CalculatedField.-ctor.html#C1_Web_Mvc_CalculatedField__ctor">CalculatedField()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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="C1_Web_Mvc_CalculatedField_Expression" data-uid="C1.Web.Mvc.CalculatedField.Expression">
          <a class="xref" href="C1.Web.Mvc.CalculatedField.Expression.html#C1_Web_Mvc_CalculatedField_Expression">Expression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression which is used to calculates field value. The expression may refer to the current item via the context variable '$', which contains the item's original and calculated values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_CalculatedField_Name" data-uid="C1.Web.Mvc.CalculatedField.Name">
          <a class="xref" href="C1.Web.Mvc.CalculatedField.Name.html#C1_Web_Mvc_CalculatedField_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of calculated field.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
