# C1.Win.Command.C1DockingTab.SaveLayout

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1DockingTab_SaveLayout_" data-uid="C1.Win.Command.C1DockingTab.SaveLayout*">SaveLayout Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1DockingTab_SaveLayout_" data-uid="C1.Win.Command.C1DockingTab.SaveLayout*"></a>
<h4 id="C1_Win_Command_C1DockingTab_SaveLayout_System_Windows_Forms_Form_System_IO_Stream_System_String___" data-uid="C1.Win.Command.C1DockingTab.SaveLayout(System.Windows.Forms.Form,System.IO.Stream,System.String[])">SaveLayout(Form, Stream, params string[])</h4>
<div class="markdown level1 summary"><p>Saves layout of all C1DockingTab controls on the form to the stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void SaveLayout(Form form, Stream stream, params string[] pageProperties)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SaveLayout(form As Form, stream As Stream, ParamArray pageProperties As String())</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a></td>
      <td><span class="parametername">form</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">pageProperties</span></td>
      <td><p>Additional property names of the C1DockingTabPage that you would like to store.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1DockingTab_SaveLayout_" data-uid="C1.Win.Command.C1DockingTab.SaveLayout*"></a>
<h4 id="C1_Win_Command_C1DockingTab_SaveLayout_System_Windows_Forms_Form_System_String_System_String___" data-uid="C1.Win.Command.C1DockingTab.SaveLayout(System.Windows.Forms.Form,System.String,System.String[])">SaveLayout(Form, string, params string[])</h4>
<div class="markdown level1 summary"><p>Saves layout of all C1DockingTab controls on the form to the specified file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void SaveLayout(Form form, string filename, params string[] pageProperties)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SaveLayout(form As Form, filename As String, ParamArray pageProperties As String())</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a></td>
      <td><span class="parametername">form</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">pageProperties</span></td>
      <td><p>Additional property names of the C1DockingTabPage that you would like to store.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
