# C1.Win.Command.C1TopicPage.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*">C1TopicPage Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor" data-uid="C1.Win.Command.C1TopicPage.#ctor">C1TopicPage()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the C1TopicPage class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String)">C1TopicPage(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text 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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_System_String_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String,System.String)">C1TopicPage(string, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text, string toolTipText)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text As String, toolTipText 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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">toolTipText</span></td>
      <td><p>The tooltip text for the page.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_System_String_System_Int32_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String,System.String,System.Int32)">C1TopicPage(string, string, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text, string toolTipText, int imageIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text As String, toolTipText As String, imageIndex As Integer)</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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">toolTipText</span></td>
      <td><p>The tooltip text for the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">imageIndex</span></td>
      <td><p>The index of the image in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList.ImageCollection</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_System_String_System_Int32_System_Windows_Forms_ImageList_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String,System.String,System.Int32,System.Windows.Forms.ImageList)">C1TopicPage(string, string, int, ImageList)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text, string toolTipText, int imageIndex, ImageList imageList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text As String, toolTipText As String, imageIndex As Integer, imageList As ImageList)</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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">toolTipText</span></td>
      <td><p>The tooltip text for the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">imageIndex</span></td>
      <td><p>The index of the image in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList.ImageCollection</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList</a></td>
      <td><span class="parametername">imageList</span></td>
      <td><p>The ImageList that contains the images shown in page links.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_System_String_System_Int32_System_Windows_Forms_ImageList_System_Boolean_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String,System.String,System.Int32,System.Windows.Forms.ImageList,System.Boolean)">C1TopicPage(string, string, int, ImageList, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text, string toolTipText, int imageIndex, ImageList imageList, bool collapsed)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text As String, toolTipText As String, imageIndex As Integer, imageList As ImageList, collapsed 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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">toolTipText</span></td>
      <td><p>The tooltip text for the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">imageIndex</span></td>
      <td><p>The index of the image in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList.ImageCollection</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList</a></td>
      <td><span class="parametername">imageList</span></td>
      <td><p>The ImageList that contains the images shown in page links.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">collapsed</span></td>
      <td><p>The value indicating whether the page is collapsed or not.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Command_C1TopicPage__ctor_" data-uid="C1.Win.Command.C1TopicPage.#ctor*"></a>
<h4 id="C1_Win_Command_C1TopicPage__ctor_System_String_System_String_System_Int32_System_Windows_Forms_ImageList_System_Boolean_System_Object_" data-uid="C1.Win.Command.C1TopicPage.#ctor(System.String,System.String,System.Int32,System.Windows.Forms.ImageList,System.Boolean,System.Object)">C1TopicPage(string, string, int, ImageList, bool, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Command.C1TopicPage.html">C1TopicPage</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TopicPage(string text, string toolTipText, int imageIndex, ImageList imageList, bool collapsed, object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(text As String, toolTipText As String, imageIndex As Integer, imageList As ImageList, collapsed As Boolean, value As Object)</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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The caption of the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">toolTipText</span></td>
      <td><p>The tooltip text for the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">imageIndex</span></td>
      <td><p>The index of the image in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList.ImageCollection</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelist">ImageList</a></td>
      <td><span class="parametername">imageList</span></td>
      <td><p>The ImageList that contains the images shown in page links.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">collapsed</span></td>
      <td><p>The value indicating whether the page is collapsed or not.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The arbitrary data that can be associated with the page.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
