# C1.WPF.Input.C1MultiSelectItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Input_C1MultiSelectItem__ctor_" data-uid="C1.WPF.Input.C1MultiSelectItem.#ctor*">C1MultiSelectItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Input_C1MultiSelectItem__ctor_" data-uid="C1.WPF.Input.C1MultiSelectItem.#ctor*"></a>
<h4 id="C1_WPF_Input_C1MultiSelectItem__ctor" data-uid="C1.WPF.Input.C1MultiSelectItem.#ctor">C1MultiSelectItem()</h4>
<div class="markdown level1 summary"><p>Initialize a new instance of <a class="xref" href="C1.WPF.Input.C1MultiSelectItem.html">C1MultiSelectItem</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 C1MultiSelectItem()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_WPF_Input_C1MultiSelectItem__ctor_" data-uid="C1.WPF.Input.C1MultiSelectItem.#ctor*"></a>
<h4 id="C1_WPF_Input_C1MultiSelectItem__ctor_C1_DataCollection_IDataCollection_System_Object__System_Int32_" data-uid="C1.WPF.Input.C1MultiSelectItem.#ctor(C1.DataCollection.IDataCollection{System.Object},System.Int32)">C1MultiSelectItem(IDataCollection&lt;object&gt;, int)</h4>
<div class="markdown level1 summary"><p>Initialize a new instance of <a class="xref" href="C1.WPF.Input.C1MultiSelectItem.html">C1MultiSelectItem</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 C1MultiSelectItem(IDataCollection&lt;object&gt; collection, int dataIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(collection As IDataCollection(Of Object), dataIndex 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><span class="xref">IDataCollection</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</td>
      <td><span class="parametername">collection</span></td>
      <td><p>The collection containing the item.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dataIndex</span></td>
      <td><p>Index of the data inside the collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
