# C1.Win.Layout.DashboardItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Layout_DashboardItem__ctor_" data-uid="C1.Win.Layout.DashboardItem.#ctor*">DashboardItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Layout_DashboardItem__ctor_" data-uid="C1.Win.Layout.DashboardItem.#ctor*"></a>
<h4 id="C1_Win_Layout_DashboardItem__ctor_C1_Win_Layout_ILayout_System_Object_System_String_System_Collections_IList_" data-uid="C1.Win.Layout.DashboardItem.#ctor(C1.Win.Layout.ILayout,System.Object,System.String,System.Collections.IList)">DashboardItem(ILayout, object, string, IList)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Layout.DashboardItem.html">DashboardItem</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 DashboardItem(ILayout layout, object itemContainer, string id, IList items)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(layout As ILayout, itemContainer As Object, id As String, items As IList)</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="C1.Win.Layout.ILayout.html">ILayout</a></td>
      <td><span class="parametername">layout</span></td>
      <td><p>The parent <a class="xref" href="C1.Win.Layout.ILayout.html">ILayout</a> object to create <a class="xref" href="C1.Win.Layout.DashboardItem.html">DashboardItem</a> on it.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">itemContainer</span></td>
      <td><p>ItemContainer object to add on layout.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">id</span></td>
      <td><p>The <a class="xref" href="C1.Win.Layout.DashboardItem.html">DashboardItem</a>'s Id.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">items</span></td>
      <td><p>List of items (controls) to place in ItemContainer.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
