# GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_UI_UIManager_OnCircularCellChanged_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged*">OnCircularCellChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_UI_UIManager_OnCircularCellChanged_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged*"></a>
<h4 id="GrapeCity_Spreadsheet_UI_UIManager_OnCircularCellChanged_GrapeCity_Spreadsheet_WorksheetReference__System_Boolean_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged(GrapeCity.Spreadsheet.WorksheetReference@,System.Boolean)">OnCircularCellChanged(ref WorksheetReference, bool)</h4>
<div class="markdown level1 summary"><p>Called when circular references state is changed for the specified cell range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected abstract void OnCircularCellChanged(ref WorksheetReference reference, bool included)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected MustOverride Sub OnCircularCellChanged(ByRef reference As WorksheetReference, included As Boolean)</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.Spreadsheet.WorksheetReference.html">WorksheetReference</a></td>
      <td><span class="parametername">reference</span></td>
      <td><p>The changed cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">included</span></td>
      <td><p><code>true</code> if the circular references is detected, <code>false</code> if the circular references is clear.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_UI_UIManager_OnCircularCellChanged_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged*"></a>
<h4 id="GrapeCity_Spreadsheet_UI_UIManager_OnCircularCellChanged_GrapeCity_Spreadsheet_WorksheetReference___GrapeCity_Spreadsheet_WorksheetReference___" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnCircularCellChanged(GrapeCity.Spreadsheet.WorksheetReference[],GrapeCity.Spreadsheet.WorksheetReference[])">OnCircularCellChanged(WorksheetReference[], WorksheetReference[])</h4>
<div class="markdown level1 summary"><p>Called when circular references state is changed for the specified cell range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnCircularCellChanged(WorksheetReference[] includedRefs, WorksheetReference[] excludedRefs)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnCircularCellChanged(includedRefs As WorksheetReference(), excludedRefs As WorksheetReference())</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.Spreadsheet.WorksheetReference.html">WorksheetReference</a>[]</td>
      <td><span class="parametername">includedRefs</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.WorksheetReference.html">WorksheetReference</a> array indicates detected circular references.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.WorksheetReference.html">WorksheetReference</a>[]</td>
      <td><span class="parametername">excludedRefs</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.WorksheetReference.html">WorksheetReference</a> array indicates removed circular references.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
