# GrapeCity.ActiveReports.PageReportModel.DataSetReference.LabelField

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_DataSetReference_LabelField_" data-uid="GrapeCity.ActiveReports.PageReportModel.DataSetReference.LabelField*">LabelField Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_DataSetReference_LabelField_" data-uid="GrapeCity.ActiveReports.PageReportModel.DataSetReference.LabelField*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_DataSetReference_LabelField" data-uid="GrapeCity.ActiveReports.PageReportModel.DataSetReference.LabelField">LabelField</h4>
<div class="markdown level1 summary"><p>Gets or sets a name of the field to use for the value displayed to the user for selection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string LabelField { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name of the field to use for the value displayed to the user for selection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_DataSetReference_LabelField_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If this property is not supplied, or if the returned value is <code>null</code>, the value in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataSetReference.ValueField.html#GrapeCity_ActiveReports_PageReportModel_DataSetReference_ValueField">ValueField</a> is used.</p>
<p>This property is not used for the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DefaultValue.html">DefaultValue</a>.</p>
</div>
</div>
