# C1.Win.Tile.PanelElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Tile_PanelElement" data-uid="C1.Win.Tile.PanelElement" class="text-break">PanelElement Class
</h1>
  <div class="markdown level0 summary"><p>The panel element containing other elements.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.Tile.BaseElement.html">BaseElement</a></div>
    <div class="level2"><span class="xref">PanelElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Tile.html">C1.Win.Tile</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TileControl.10.dll</h6>
  <h5 id="C1_Win_Tile_PanelElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PanelElement : BaseElement, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PanelElement
    Inherits BaseElement
    Implements IDisposable, ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Tile_PanelElement__ctor" data-uid="C1.Win.Tile.PanelElement.#ctor">
          <a class="xref" href="C1.Win.Tile.PanelElement.-ctor.html#C1_Win_Tile_PanelElement__ctor">PanelElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.Tile.PanelElement.html">PanelElement</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Tile_PanelElement_BackColor" data-uid="C1.Win.Tile.PanelElement.BackColor">
          <a class="xref" href="C1.Win.Tile.PanelElement.BackColor.html#C1_Win_Tile_PanelElement_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the panel element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_BackColorSelector" data-uid="C1.Win.Tile.PanelElement.BackColorSelector">
          <a class="xref" href="C1.Win.Tile.PanelElement.BackColorSelector.html#C1_Win_Tile_PanelElement_BackColorSelector">BackColorSelector</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating which property of a <a class="xref" href="C1.Win.Tile.Tile.html">Tile</a> object
behaves as the source of background color for this element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_ChildSpacing" data-uid="C1.Win.Tile.PanelElement.ChildSpacing">
          <a class="xref" href="C1.Win.Tile.PanelElement.ChildSpacing.html#C1_Win_Tile_PanelElement_ChildSpacing">ChildSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space between child elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Children" data-uid="C1.Win.Tile.PanelElement.Children">
          <a class="xref" href="C1.Win.Tile.PanelElement.Children.html#C1_Win_Tile_PanelElement_Children">Children</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of child elements contained in this <a class="xref" href="C1.Win.Tile.PanelElement.html">PanelElement</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Dock" data-uid="C1.Win.Tile.PanelElement.Dock">
          <a class="xref" href="C1.Win.Tile.PanelElement.Dock.html#C1_Win_Tile_PanelElement_Dock">Dock</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which panel borders are docked to its parent element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Orientation" data-uid="C1.Win.Tile.PanelElement.Orientation">
          <a class="xref" href="C1.Win.Tile.PanelElement.Orientation.html#C1_Win_Tile_PanelElement_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the child elements are arranged horizontally or vertically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Padding" data-uid="C1.Win.Tile.PanelElement.Padding">
          <a class="xref" href="C1.Win.Tile.PanelElement.Padding.html#C1_Win_Tile_PanelElement_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the interior spacing of the <a class="xref" href="C1.Win.Tile.PanelElement.html">PanelElement</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Visible" data-uid="C1.Win.Tile.PanelElement.Visible">
          <a class="xref" href="C1.Win.Tile.PanelElement.Visible.html#C1_Win_Tile_PanelElement_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the panel element is visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_VisibleSelector" data-uid="C1.Win.Tile.PanelElement.VisibleSelector">
          <a class="xref" href="C1.Win.Tile.PanelElement.VisibleSelector.html#C1_Win_Tile_PanelElement_VisibleSelector">VisibleSelector</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating which integer property of a <a class="xref" href="C1.Win.Tile.Tile.html">Tile</a>
object is checked to determine whether the panel element is visible,
if the property value is not equal to zero.</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_Tile_PanelElement_CopySettingsFrom_C1_Win_Tile_BaseElement_" data-uid="C1.Win.Tile.PanelElement.CopySettingsFrom(C1.Win.Tile.BaseElement)">
          <a class="xref" href="C1.Win.Tile.PanelElement.CopySettingsFrom.html#C1_Win_Tile_PanelElement_CopySettingsFrom_C1_Win_Tile_BaseElement_">CopySettingsFrom(BaseElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies settings from the given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_CreateInstance" data-uid="C1.Win.Tile.PanelElement.CreateInstance">
          <a class="xref" href="C1.Win.Tile.PanelElement.CreateInstance.html#C1_Win_Tile_PanelElement_CreateInstance">CreateInstance()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.Win.Tile.PanelElement.html">PanelElement</a> element copy.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_Dispose_System_Boolean_" data-uid="C1.Win.Tile.PanelElement.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Tile.PanelElement.Dispose.html#C1_Win_Tile_PanelElement_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_ResetBackColor" data-uid="C1.Win.Tile.PanelElement.ResetBackColor">
          <a class="xref" href="C1.Win.Tile.PanelElement.ResetBackColor.html#C1_Win_Tile_PanelElement_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.PanelElement.BackColor.html#C1_Win_Tile_PanelElement_BackColor">BackColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_ResetPadding" data-uid="C1.Win.Tile.PanelElement.ResetPadding">
          <a class="xref" href="C1.Win.Tile.PanelElement.ResetPadding.html#C1_Win_Tile_PanelElement_ResetPadding">ResetPadding()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.PanelElement.Padding.html#C1_Win_Tile_PanelElement_Padding">Padding</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_PanelElement_ShouldSerializePadding" data-uid="C1.Win.Tile.PanelElement.ShouldSerializePadding">
          <a class="xref" href="C1.Win.Tile.PanelElement.ShouldSerializePadding.html#C1_Win_Tile_PanelElement_ShouldSerializePadding">ShouldSerializePadding()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
