# GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_RomUtils_GetLocalizedValue_" data-uid="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue*">GetLocalizedValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_RomUtils_GetLocalizedValue_" data-uid="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_RomUtils_GetLocalizedValue__1_GrapeCity_ActiveReports_PageReportModel_ReportItem_System_String___0_GrapeCity_ActiveReports_PageReportModel_RomUtils_FromStringConverter___0__" data-uid="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue``1(GrapeCity.ActiveReports.PageReportModel.ReportItem,System.String,``0,GrapeCity.ActiveReports.PageReportModel.RomUtils.FromStringConverter{``0})">GetLocalizedValue&lt;T&gt;(ReportItem, string, T, FromStringConverter&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Gets localized property value from resources.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static T GetLocalizedValue&lt;T&gt;(ReportItem reportItem, string propertyName, T defaultValue, RomUtils.FromStringConverter&lt;T&gt; converter)</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="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a></td>
      <td><span class="parametername">reportItem</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">propertyName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">T</span></td>
      <td><span class="parametername">defaultValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.html">RomUtils</a>.<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.FromStringConverter-1.html">FromStringConverter</a>&lt;T&gt;</td>
      <td><span class="parametername">converter</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_PageReportModel_RomUtils_GetLocalizedValue_" data-uid="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_RomUtils_GetLocalizedValue__1_GrapeCity_ActiveReports_PageReportModel_Report_System_String___0_GrapeCity_ActiveReports_PageReportModel_RomUtils_FromStringConverter___0__" data-uid="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue``1(GrapeCity.ActiveReports.PageReportModel.Report,System.String,``0,GrapeCity.ActiveReports.PageReportModel.RomUtils.FromStringConverter{``0})">GetLocalizedValue&lt;T&gt;(Report, string, T, FromStringConverter&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Gets localized property value from resources.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static T GetLocalizedValue&lt;T&gt;(Report report, string propertyName, T defaultValue, RomUtils.FromStringConverter&lt;T&gt; converter)</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="GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">propertyName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">T</span></td>
      <td><span class="parametername">defaultValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.html">RomUtils</a>.<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.FromStringConverter-1.html">FromStringConverter</a>&lt;T&gt;</td>
      <td><span class="parametername">converter</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
