# GrapeCity.ActiveReports.Rendering.CustomReportItemExtension

## Content

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



  <h1 id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension" class="text-break">CustomReportItemExtension Class
</h1>
  <div class="markdown level0 summary"><p>Provides extension methods for handling custom properties in <a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.CustomReportItem.html">CustomReportItem</a> objects.</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">CustomReportItemExtension</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rendering.html">GrapeCity.ActiveReports.Rendering</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class CustomReportItemExtension</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsBoolean_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_Boolean_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsBoolean(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsBoolean.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsBoolean_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_Boolean_">GetCustomPropertyAsBoolean(CustomReportItem, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the custom property value as a boolean.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsEnum__1_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String___0_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsEnum``1(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,``0)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsEnum.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsEnum__1_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String___0_">GetCustomPropertyAsEnum&lt;T&gt;(CustomReportItem, string, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the custom property value as an enum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsExpression_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsExpression(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsExpression.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsExpression_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_">GetCustomPropertyAsExpression(CustomReportItem, string, ExpressionInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the custom property value as an expression.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsInteger_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_Int32_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsInteger(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsInteger.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsInteger_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_Int32_">GetCustomPropertyAsInteger(CustomReportItem, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the custom property value as an integer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsString_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsString(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsString.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_GetCustomPropertyAsString_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_">GetCustomPropertyAsString(CustomReportItem, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the custom property value as a string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_SetCustomProperty_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.SetCustomProperty(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.SetCustomProperty.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_SetCustomProperty_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_">SetCustomProperty(CustomReportItem, string, ExpressionInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the custom property value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_SetCustomProperty_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_String_" data-uid="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.SetCustomProperty(GrapeCity.ActiveReports.PageReportModel.CustomReportItem,System.String,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.SetCustomProperty.html#GrapeCity_ActiveReports_Rendering_CustomReportItemExtension_SetCustomProperty_GrapeCity_ActiveReports_PageReportModel_CustomReportItem_System_String_System_String_">SetCustomProperty(CustomReportItem, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the custom property value as a string.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
