# C1.Win.FlexViewer.C1FlexViewerPane.BusySection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexViewer_C1FlexViewerPane_BusySection" data-uid="C1.Win.FlexViewer.C1FlexViewerPane.BusySection" class="text-break">C1FlexViewerPane.BusySection Class
</h1>
  <div class="markdown level0 summary"><p>Helper class providing a busy section for a <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.html">C1FlexViewerPane</a>,
raising the <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.Busy.html#C1_Win_FlexViewer_C1FlexViewerPane_Busy">Busy</a> flag in its constructor,
and lowering it in the <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.Dispose.html#C1_Win_FlexViewer_C1FlexViewerPane_BusySection_Dispose">Dispose()</a> method.</p>
<p>
Usage:
</p>
<pre><code class="lang-csharp">using (new busy = BusySection(flexViewerPane)) { ..code... }.</code></pre>
</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">C1FlexViewerPane.BusySection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexViewer.html">C1.Win.FlexViewer</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexViewer.4.8.dll</h6>
  <h5 id="C1_Win_FlexViewer_C1FlexViewerPane_BusySection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1FlexViewerPane.BusySection : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1FlexViewerPane.BusySection
    Implements IDisposable</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="C1_Win_FlexViewer_C1FlexViewerPane_BusySection__ctor_C1_Win_FlexViewer_C1FlexViewerPane_" data-uid="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.#ctor(C1.Win.FlexViewer.C1FlexViewerPane)">
          <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.-ctor.html#C1_Win_FlexViewer_C1FlexViewerPane_BusySection__ctor_C1_Win_FlexViewer_C1FlexViewerPane_">BusySection(C1FlexViewerPane)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.html">C1FlexViewerPane.BusySection</a> class,
raises the <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.Busy.html#C1_Win_FlexViewer_C1FlexViewerPane_Busy">Busy</a> flag on <code class="paramref">pane</code>.</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="C1_Win_FlexViewer_C1FlexViewerPane_BusySection_Dispose" data-uid="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.Dispose">
          <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.BusySection.Dispose.html#C1_Win_FlexViewer_C1FlexViewerPane_BusySection_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Disposes the busy section,
lowers the <a class="xref" href="C1.Win.FlexViewer.C1FlexViewerPane.Busy.html#C1_Win_FlexViewer_C1FlexViewerPane_Busy">Busy</a> flag on the preview pane.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
