# GrapeCity.ActiveReports.PageReportModel.ValidValues

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_ValidValues" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues" class="text-break">ValidValues Class
</h1>
  <div class="markdown level0 summary"><p>Represents the possible values for a parameter. This is used to populate UI selection lists from which users can select a parameter value.</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">ValidValues</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></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_ValidValues_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ValidValues : IValidateable, ICloneable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_ValidValues_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.html">ValidValues</a> object must have one and only one of the following properties set: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.DataSetReference.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_DataSetReference">DataSetReference</a> or <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.ParameterValues.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_ParameterValues">ParameterValues</a>.</p>
</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="GrapeCity_ActiveReports_PageReportModel_ValidValues__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.-ctor.html#GrapeCity_ActiveReports_PageReportModel_ValidValues__ctor">ValidValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.html">ValidValues</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_ValidValues_DataSetReference" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.DataSetReference">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.DataSetReference.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_DataSetReference">DataSetReference</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the query to execute to obtain the default value(s) for the parameter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ValidValues_OrderBy" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.OrderBy">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.OrderBy.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_OrderBy">OrderBy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of hardcoded values for the parameter values order.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ValidValues_ParameterValues" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.ParameterValues">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.ParameterValues.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_ParameterValues">ParameterValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of hardcoded values for the parameter.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_PageReportModel_ValidValues_Clone" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.Clone.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ValidValues_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidValues.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.Validate.html#GrapeCity_ActiveReports_PageReportModel_ValidValues_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the current state of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidValues.html">ValidValues</a> object.</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>
