# C1.Win.Command.CloseTabBehavior

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Command_CloseTabBehavior" data-uid="C1.Win.Command.CloseTabBehavior" class="text-break">CloseTabBehavior Enum
</h1>
  <div class="markdown level0 summary"><p>Defines behavior on C1DockingTabPage's CloseBox click.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Command.html">C1.Win.Command</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Command.10.dll</h6>
  <h5 id="C1_Win_Command_CloseTabBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CloseTabBehavior</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CloseTabBehavior</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_Command_CloseTabBehavior_Close">Close</td>
        <td><p>Closes the <a class="xref" href="C1.Win.Command.C1DockingTabPage.html">C1DockingTabPage</a> and removes it from <a class="xref" href="C1.Win.Command.C1DockingTabPages.html">C1DockingTabPages</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_CloseTabBehavior_Hide">Hide</td>
        <td><p>Set the <a class="xref" href="C1.Win.Command.C1DockingTabPage.TabVisible.html#C1_Win_Command_C1DockingTabPage_TabVisible">TabVisible</a> property to false.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
