# GrapeCity.ActiveReports.PageReportModel.ValidationContext

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_ValidationContext" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidationContext" class="text-break">ValidationContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents a type of context information that is available during validation.</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">ValidationContext</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_ValidationContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ValidationContext</code></pre>
  </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_ValidationContext__ctor_GrapeCity_ActiveReports_PageReportModel_ValidationMode_" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidationContext.#ctor(GrapeCity.ActiveReports.PageReportModel.ValidationMode)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidationContext.-ctor.html#GrapeCity_ActiveReports_PageReportModel_ValidationContext__ctor_GrapeCity_ActiveReports_PageReportModel_ValidationMode_">ValidationContext(ValidationMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidationContext.html">ValidationContext</a> class with the specified validation mode.</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_ValidationContext_ContextualInformation" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidationContext.ContextualInformation">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidationContext.ContextualInformation.html#GrapeCity_ActiveReports_PageReportModel_ValidationContext_ContextualInformation">ContextualInformation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a hybrid dictionary containing any information that needs to be passed through validation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ValidationContext_Mode" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidationContext.Mode">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidationContext.Mode.html#GrapeCity_ActiveReports_PageReportModel_ValidationContext_Mode">Mode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the mode for which the validation context is set.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ValidationContext_NameValidator" data-uid="GrapeCity.ActiveReports.PageReportModel.ValidationContext.NameValidator">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ValidationContext.NameValidator.html#GrapeCity_ActiveReports_PageReportModel_ValidationContext_NameValidator">NameValidator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a validator to use for name validation.</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>
