# GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition" data-uid="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition" class="text-break">CustomPropertyDefinition Class
</h1>
  <div class="markdown level0 summary"><p>Represents a CustomProperty element from RDL (Report Definition Language). When processing the PageReportModel,
if the <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object contains any aggregate functions that do not specify the scope,
the scope is updated with the current scope.</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">CustomPropertyDefinition</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CustomPropertyDefinition</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">var customProperty = new CustomPropertyDefinition("CustomName", "=Fields!FieldName.Value");</code></pre>

  <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_ActiveReports_PageReportModel_CustomPropertyDefinition__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.-ctor.html#GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition__ctor">CustomPropertyDefinition()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.html">CustomPropertyDefinition</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition__ctor_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_" data-uid="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.#ctor(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.-ctor.html#GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition__ctor_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_">CustomPropertyDefinition(string, ExpressionInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.html">CustomPropertyDefinition</a> class.</p>
</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="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_Name" data-uid="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.Name">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.Name.html#GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the custom property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_Value" data-uid="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.Value">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinition.Value.html#GrapeCity_ActiveReports_PageReportModel_CustomPropertyDefinition_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the custom property, which can be an expression.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
