# GrapeCity.ActiveReports.PageReportModel.Visibility

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Visibility" data-uid="GrapeCity.ActiveReports.PageReportModel.Visibility" class="text-break">Visibility Class
</h1>
  <div class="markdown level0 summary"><p>Represents the Visibility element controls whether the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a> is initially visible in the output report.</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">Visibility</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</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_Visibility_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Visibility : IValidateable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Visibility_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.html">Visibility</a> class provides properties to control the visibility of a report item,
allowing for dynamic display based on expressions and user interactions.</p>
</div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Visibility_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">var reportItem = new TextBox();
reportItem.Visibility = new Visibility { Hidden = ExpressionInfo.FromString("true") };</code></pre>

  <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_Visibility__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Visibility.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Visibility__ctor">Visibility()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.html">Visibility</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_Visibility_Hidden" data-uid="GrapeCity.ActiveReports.PageReportModel.Visibility.Hidden">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.Hidden.html#GrapeCity_ActiveReports_PageReportModel_Visibility_Hidden">Hidden</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Boolean expression that indicates whether the item is initially hidden.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Visibility_ToggleItem" data-uid="GrapeCity.ActiveReports.PageReportModel.Visibility.ToggleItem">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.ToggleItem.html#GrapeCity_ActiveReports_PageReportModel_Visibility_ToggleItem">ToggleItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.html">TextBox</a> used to toggle the visibility of the report item.</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_Visibility_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.Visibility.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Visibility.Validate.html#GrapeCity_ActiveReports_PageReportModel_Visibility_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.Visibility.html">Visibility</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>
