# C1.Win.Layout.ILayout

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Layout_ILayout" data-uid="C1.Win.Layout.ILayout" class="text-break">ILayout Interface
</h1>
  <div class="markdown level0 summary"><p>Layout control interface. All layouts should implement this interface in order to communicate with C1DashboardLayoutControl</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Layout.html">C1.Win.Layout</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DashboardLayout.10.dll</h6>
  <h5 id="C1_Win_Layout_ILayout_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ILayout : ISupportInitialize</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ILayout
    Inherits ISupportInitialize</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Layout_ILayout_Container" data-uid="C1.Win.Layout.ILayout.Container">
          <a class="xref" href="C1.Win.Layout.ILayout.Container.html#C1_Win_Layout_ILayout_Container">Container</a>
        </td>
        <td class="markdown level1 summary"><p>Returns main container for dashboard itemContainers</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_Items" data-uid="C1.Win.Layout.ILayout.Items">
          <a class="xref" href="C1.Win.Layout.ILayout.Items.html#C1_Win_Layout_ILayout_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <a class="xref" href="C1.Win.Layout.DashboardCollection.html">DashboardCollection</a> list of Dashboard DashboardItem items</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_LayoutItemContainers" data-uid="C1.Win.Layout.ILayout.LayoutItemContainers">
          <a class="xref" href="C1.Win.Layout.ILayout.LayoutItemContainers.html#C1_Win_Layout_ILayout_LayoutItemContainers">LayoutItemContainers</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> list of ItemContainer instances.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Layout_ILayout_Attach_System_Collections_Generic_Dictionary_System_String_System_Collections_ICollection__" data-uid="C1.Win.Layout.ILayout.Attach(System.Collections.Generic.Dictionary{System.String,System.Collections.ICollection})">
          <a class="xref" href="C1.Win.Layout.ILayout.Attach.html#C1_Win_Layout_ILayout_Attach_System_Collections_Generic_Dictionary_System_String_System_Collections_ICollection__">Attach(Dictionary&lt;string, ICollection&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches dashboard ItemContainers to layout control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_CanDrag_System_Object_System_Drawing_Point_" data-uid="C1.Win.Layout.ILayout.CanDrag(System.Object,System.Drawing.Point)">
          <a class="xref" href="C1.Win.Layout.ILayout.CanDrag.html#C1_Win_Layout_ILayout_CanDrag_System_Object_System_Drawing_Point_">CanDrag(object, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines whether the ItemContainer instance can be dragged or resized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_CreateItemContainer_System_String_" data-uid="C1.Win.Layout.ILayout.CreateItemContainer(System.String)">
          <a class="xref" href="C1.Win.Layout.ILayout.CreateItemContainer.html#C1_Win_Layout_ILayout_CreateItemContainer_System_String_">CreateItemContainer(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an ItemContainer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_DeselectItemContainer_System_Object_" data-uid="C1.Win.Layout.ILayout.DeselectItemContainer(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.DeselectItemContainer.html#C1_Win_Layout_ILayout_DeselectItemContainer_System_Object_">DeselectItemContainer(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes selection from ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_Detach" data-uid="C1.Win.Layout.ILayout.Detach">
          <a class="xref" href="C1.Win.Layout.ILayout.Detach.html#C1_Win_Layout_ILayout_Detach">Detach()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches dashboard itemContainers from layout control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_FindItemContainer_System_String_" data-uid="C1.Win.Layout.ILayout.FindItemContainer(System.String)">
          <a class="xref" href="C1.Win.Layout.ILayout.FindItemContainer.html#C1_Win_Layout_ILayout_FindItemContainer_System_String_">FindItemContainer(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Looks for ItemCotainer with defined unique identifier.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_GetBounds_System_Object_" data-uid="C1.Win.Layout.ILayout.GetBounds(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.GetBounds.html#C1_Win_Layout_ILayout_GetBounds_System_Object_">GetBounds(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> bounds of the ItemContainer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_GetFace_System_Object_" data-uid="C1.Win.Layout.ILayout.GetFace(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.GetFace.html#C1_Win_Layout_ILayout_GetFace_System_Object_">GetFace(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns face image of ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_GetId_System_Object_" data-uid="C1.Win.Layout.ILayout.GetId(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.GetId.html#C1_Win_Layout_ILayout_GetId_System_Object_">GetId(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Id for ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_GetItemContainerOnPoint_System_Drawing_Point_" data-uid="C1.Win.Layout.ILayout.GetItemContainerOnPoint(System.Drawing.Point)">
          <a class="xref" href="C1.Win.Layout.ILayout.GetItemContainerOnPoint.html#C1_Win_Layout_ILayout_GetItemContainerOnPoint_System_Drawing_Point_">GetItemContainerOnPoint(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns ItemContainer instance at point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_GetItemProperties_System_Object_" data-uid="C1.Win.Layout.ILayout.GetItemProperties(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.GetItemProperties.html#C1_Win_Layout_ILayout_GetItemProperties_System_Object_">GetItemProperties(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Dashboard properties for item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_InitializeNew" data-uid="C1.Win.Layout.ILayout.InitializeNew">
          <a class="xref" href="C1.Win.Layout.ILayout.InitializeNew.html#C1_Win_Layout_ILayout_InitializeNew">InitializeNew()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a newly created layout. The method is called when a C1DashboardLayout is first initialized, typically after being first added to a design surface.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_IsItemContainer_System_Object_" data-uid="C1.Win.Layout.ILayout.IsItemContainer(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.IsItemContainer.html#C1_Win_Layout_ILayout_IsItemContainer_System_Object_">IsItemContainer(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines whether the object is an ItemContainer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_LoadLayout_System_Xml_XmlNode_" data-uid="C1.Win.Layout.ILayout.LoadLayout(System.Xml.XmlNode)">
          <a class="xref" href="C1.Win.Layout.ILayout.LoadLayout.html#C1_Win_Layout_ILayout_LoadLayout_System_Xml_XmlNode_">LoadLayout(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Restores elements of the child container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_Maximize_System_Object_" data-uid="C1.Win.Layout.ILayout.Maximize(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.Maximize.html#C1_Win_Layout_ILayout_Maximize_System_Object_">Maximize(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Maximizes ItemContainer</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_PopulateItemContainer_System_String_System_Object_" data-uid="C1.Win.Layout.ILayout.PopulateItemContainer(System.String,System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.PopulateItemContainer.html#C1_Win_Layout_ILayout_PopulateItemContainer_System_String_System_Object_">PopulateItemContainer(string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates item container by items from source item container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_RemoveItemContainer_System_String_" data-uid="C1.Win.Layout.ILayout.RemoveItemContainer(System.String)">
          <a class="xref" href="C1.Win.Layout.ILayout.RemoveItemContainer.html#C1_Win_Layout_ILayout_RemoveItemContainer_System_String_">RemoveItemContainer(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an ItemContainer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_Restore" data-uid="C1.Win.Layout.ILayout.Restore">
          <a class="xref" href="C1.Win.Layout.ILayout.Restore.html#C1_Win_Layout_ILayout_Restore">Restore()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores maximized ItemContainer to it's original size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SaveLayout_System_Xml_XmlNode_" data-uid="C1.Win.Layout.ILayout.SaveLayout(System.Xml.XmlNode)">
          <a class="xref" href="C1.Win.Layout.ILayout.SaveLayout.html#C1_Win_Layout_ILayout_SaveLayout_System_Xml_XmlNode_">SaveLayout(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Stores elements of the child container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SelectItemContainer_System_Object_" data-uid="C1.Win.Layout.ILayout.SelectItemContainer(System.Object)">
          <a class="xref" href="C1.Win.Layout.ILayout.SelectItemContainer.html#C1_Win_Layout_ILayout_SelectItemContainer_System_Object_">SelectItemContainer(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetBounds_System_Object_System_Drawing_Rectangle_C1_Win_Layout_DragType_" data-uid="C1.Win.Layout.ILayout.SetBounds(System.Object,System.Drawing.Rectangle,C1.Win.Layout.DragType)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetBounds.html#C1_Win_Layout_ILayout_SetBounds_System_Object_System_Drawing_Rectangle_C1_Win_Layout_DragType_">SetBounds(object, Rectangle, DragType)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets bounds for the ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetDelegates_C1_Win_Layout_AddRemoveItemContainerDelegate_C1_Win_Layout_AddRemoveItemContainerDelegate_C1_Win_Layout_SynchronizeItemContainerDelegate_" data-uid="C1.Win.Layout.ILayout.SetDelegates(C1.Win.Layout.AddRemoveItemContainerDelegate,C1.Win.Layout.AddRemoveItemContainerDelegate,C1.Win.Layout.SynchronizeItemContainerDelegate)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetDelegates.html#C1_Win_Layout_ILayout_SetDelegates_C1_Win_Layout_AddRemoveItemContainerDelegate_C1_Win_Layout_AddRemoveItemContainerDelegate_C1_Win_Layout_SynchronizeItemContainerDelegate_">SetDelegates(AddRemoveItemContainerDelegate, AddRemoveItemContainerDelegate, SynchronizeItemContainerDelegate)</a>
        </td>
        <td class="markdown level1 summary"><p>Set appropriate delegates in order to control adding/removing/synchronizing ItemContainers by <a class="xref" href="C1.Win.Layout.C1DashboardLayout.html">C1DashboardLayout</a>  instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetId_System_Object_System_String_" data-uid="C1.Win.Layout.ILayout.SetId(System.Object,System.String)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetId.html#C1_Win_Layout_ILayout_SetId_System_Object_System_String_">SetId(object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets Id for ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetItemProperties_System_Object_C1_Win_Layout_ItemContainerProperties_" data-uid="C1.Win.Layout.ILayout.SetItemProperties(System.Object,C1.Win.Layout.ItemContainerProperties)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetItemProperties.html#C1_Win_Layout_ILayout_SetItemProperties_System_Object_C1_Win_Layout_ItemContainerProperties_">SetItemProperties(object, ItemContainerProperties)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Dashboard properties for item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetParent_System_Windows_Forms_Control_System_Boolean_" data-uid="C1.Win.Layout.ILayout.SetParent(System.Windows.Forms.Control,System.Boolean)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetParent.html#C1_Win_Layout_ILayout_SetParent_System_Windows_Forms_Control_System_Boolean_">SetParent(Control, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets parent for <a class="xref" href="C1.Win.Layout.ILayout.html">ILayout</a> container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetPlaceholderAt_System_Object_System_Drawing_Point_" data-uid="C1.Win.Layout.ILayout.SetPlaceholderAt(System.Object,System.Drawing.Point)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetPlaceholderAt.html#C1_Win_Layout_ILayout_SetPlaceholderAt_System_Object_System_Drawing_Point_">SetPlaceholderAt(object, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the ItemContainer instance by placeholder or replaces the placeholder by ItemContainer instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_SetRightToLeft_System_Windows_Forms_RightToLeft_" data-uid="C1.Win.Layout.ILayout.SetRightToLeft(System.Windows.Forms.RightToLeft)">
          <a class="xref" href="C1.Win.Layout.ILayout.SetRightToLeft.html#C1_Win_Layout_ILayout_SetRightToLeft_System_Windows_Forms_RightToLeft_">SetRightToLeft(RightToLeft)</a>
        </td>
        <td class="markdown level1 summary"><p>Set RightToLeft property to maximized panel: control elements are displayed from right to left</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_UpdateStyle" data-uid="C1.Win.Layout.ILayout.UpdateStyle">
          <a class="xref" href="C1.Win.Layout.ILayout.UpdateStyle.html#C1_Win_Layout_ILayout_UpdateStyle">UpdateStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Updates style according to the current theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_UseOptions_C1_Win_Layout_DashboardOptions_" data-uid="C1.Win.Layout.ILayout.UseOptions(C1.Win.Layout.DashboardOptions)">
          <a class="xref" href="C1.Win.Layout.ILayout.UseOptions.html#C1_Win_Layout_ILayout_UseOptions_C1_Win_Layout_DashboardOptions_">UseOptions(DashboardOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Force Layout control to use the Dashboard options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_ILayout_UseTheme_C1_Win_Layout_Styles_DashboardTheme_" data-uid="C1.Win.Layout.ILayout.UseTheme(C1.Win.Layout.Styles.DashboardTheme)">
          <a class="xref" href="C1.Win.Layout.ILayout.UseTheme.html#C1_Win_Layout_ILayout_UseTheme_C1_Win_Layout_Styles_DashboardTheme_">UseTheme(DashboardTheme)</a>
        </td>
        <td class="markdown level1 summary"><p>Apply the specified theme to layout</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
