# C1.WPF.Input.ComboBoxGroupItem.-ctor

## Content

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