# GrapeCity.ActiveReports.PageReportModel.ToggleImage

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_ToggleImage" data-uid="GrapeCity.ActiveReports.PageReportModel.ToggleImage" class="text-break">ToggleImage Class
</h1>
  <div class="markdown level0 summary"><p>Represents an initial state of a toggle image displayed as part of a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.html">TextBox</a>.</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">ToggleImage</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_ToggleImage_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ToggleImage : IValidateable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_ToggleImage_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;p&gt;
</code></pre>
<p>The toggle image is displayed if the textbox serves as a toggle item for another report item. If no <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ToggleImage.html">ToggleImage</a>
element is present, no image is displayed.</p>

    <p>
The toggle image displays as a plus sign (+) to indicate a collapsed state with hidden report items, and as a minus sign (-) to 
indicate an expanded state with all report items visible.
</p>
    <p>
Clicking the textbox or image flips the toggle image state, displaying the image associated with the new state.
</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_ToggleImage__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.ToggleImage.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ToggleImage.-ctor.html#GrapeCity_ActiveReports_PageReportModel_ToggleImage__ctor">ToggleImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ToggleImage.html">ToggleImage</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_ToggleImage_InitialState" data-uid="GrapeCity.ActiveReports.PageReportModel.ToggleImage.InitialState">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ToggleImage.InitialState.html#GrapeCity_ActiveReports_PageReportModel_ToggleImage_InitialState">InitialState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Boolean expression that determines the initial state of the toggle image.</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_ToggleImage_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.ToggleImage.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ToggleImage.Validate.html#GrapeCity_ActiveReports_PageReportModel_ToggleImage_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.ToggleImage.html">ToggleImage</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>
