# GrapeCity.ActiveReports.Chart.NullableBoolean.CompareTo

## Content

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



<h1 id="GrapeCity_ActiveReports_Chart_NullableBoolean_CompareTo_" data-uid="GrapeCity.ActiveReports.Chart.NullableBoolean.CompareTo*">CompareTo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Chart_NullableBoolean_CompareTo_" data-uid="GrapeCity.ActiveReports.Chart.NullableBoolean.CompareTo*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_NullableBoolean_CompareTo_GrapeCity_ActiveReports_Chart_NullableBoolean_" data-uid="GrapeCity.ActiveReports.Chart.NullableBoolean.CompareTo(GrapeCity.ActiveReports.Chart.NullableBoolean)">CompareTo(NullableBoolean)</h4>
<div class="markdown level1 summary"><p>Performs a comparison of current instance and  specified instance of <a class="xref" href="GrapeCity.ActiveReports.Chart.NullableBoolean.html">NullableBoolean</a>
and returns a value indicating whether one is less than, equal to, or greater than the other.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int CompareTo(NullableBoolean other)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.NullableBoolean.html">NullableBoolean</a></td>
      <td><span class="parametername">other</span></td>
      <td><p>The instance of <a class="xref" href="GrapeCity.ActiveReports.Chart.NullableBoolean.html">NullableBoolean</a> to be compared with.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.int32">int</a></td>
      <td><p>Less than zero if current instance is less than other; 0 (zero) if they are equal; Greater than zero if current instance is greater than other.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
