# C1.Win.Command.C1DockingTab.KeepClosedPages

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1DockingTab_KeepClosedPages_" data-uid="C1.Win.Command.C1DockingTab.KeepClosedPages*">KeepClosedPages Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1DockingTab_KeepClosedPages_" data-uid="C1.Win.Command.C1DockingTab.KeepClosedPages*"></a>
<h4 id="C1_Win_Command_C1DockingTab_KeepClosedPages" data-uid="C1.Win.Command.C1DockingTab.KeepClosedPages">KeepClosedPages</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether a tab page closed by the end user should be kept in an internal array (used when a previously saved tabs layout is restored). The default is true.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1DockingTab.KeepClosedPages&quot;, &quot;Gets or sets a value indicating whether a tab page closed by the end user should be kept in an internal array (used when a previously saved tabs layout is restored). The default is true.&quot;)]
[C1Category(&quot;Behavior&quot;)]
public bool KeepClosedPages { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1DockingTab.KeepClosedPages&quot;, &quot;Gets or sets a value indicating whether a tab page closed by the end user should be kept in an internal array (used when a previously saved tabs layout is restored). The default is true.&quot;)&gt;
&lt;C1Category(&quot;Behavior&quot;)&gt;
Public Property KeepClosedPages As Boolean</code></pre>
</div>
</div>
