# C1.Win.Tile.BaseElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Tile_BaseElement" data-uid="C1.Win.Tile.BaseElement" class="text-break">BaseElement Class
</h1>
  <div class="markdown level0 summary"><p>The base class for all template 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"><span class="xref">BaseElement</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Tile.ImageElement.html">ImageElement</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Tile.PanelElement.html">PanelElement</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Tile.TextElement.html">TextElement</a></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_BaseElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseElement : IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class 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_BaseElement__ctor" data-uid="C1.Win.Tile.BaseElement.#ctor">
          <a class="xref" href="C1.Win.Tile.BaseElement.-ctor.html#C1_Win_Tile_BaseElement__ctor">BaseElement()</a>
        </td>
        <td class="markdown level1 summary"></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_BaseElement_Alignment" data-uid="C1.Win.Tile.BaseElement.Alignment">
          <a class="xref" href="C1.Win.Tile.BaseElement.Alignment.html#C1_Win_Tile_BaseElement_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of element within its parent bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_AlignmentOfContents" data-uid="C1.Win.Tile.BaseElement.AlignmentOfContents">
          <a class="xref" href="C1.Win.Tile.BaseElement.AlignmentOfContents.html#C1_Win_Tile_BaseElement_AlignmentOfContents">AlignmentOfContents</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of contents within the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_Description" data-uid="C1.Win.Tile.BaseElement.Description">
          <a class="xref" href="C1.Win.Tile.BaseElement.Description.html#C1_Win_Tile_BaseElement_Description">Description</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the description for this element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_FixedHeight" data-uid="C1.Win.Tile.BaseElement.FixedHeight">
          <a class="xref" href="C1.Win.Tile.BaseElement.FixedHeight.html#C1_Win_Tile_BaseElement_FixedHeight">FixedHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fixed height of the contents, if appropriate. Set to 0 to calculate height dynamically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_FixedWidth" data-uid="C1.Win.Tile.BaseElement.FixedWidth">
          <a class="xref" href="C1.Win.Tile.BaseElement.FixedWidth.html#C1_Win_Tile_BaseElement_FixedWidth">FixedWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fixed width of the contents, if appropriate. Set to 0 to calculate width dynamically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_Margin" data-uid="C1.Win.Tile.BaseElement.Margin">
          <a class="xref" href="C1.Win.Tile.BaseElement.Margin.html#C1_Win_Tile_BaseElement_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the outer spacing of the element.</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_BaseElement_Clone" data-uid="C1.Win.Tile.BaseElement.Clone">
          <a class="xref" href="C1.Win.Tile.BaseElement.Clone.html#C1_Win_Tile_BaseElement_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Win.Tile.BaseElement.html">BaseElement</a> that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_CopySettingsFrom_C1_Win_Tile_BaseElement_" data-uid="C1.Win.Tile.BaseElement.CopySettingsFrom(C1.Win.Tile.BaseElement)">
          <a class="xref" href="C1.Win.Tile.BaseElement.CopySettingsFrom.html#C1_Win_Tile_BaseElement_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_BaseElement_CreateInstance" data-uid="C1.Win.Tile.BaseElement.CreateInstance">
          <a class="xref" href="C1.Win.Tile.BaseElement.CreateInstance.html#C1_Win_Tile_BaseElement_CreateInstance">CreateInstance()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the element copy.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_Dispose" data-uid="C1.Win.Tile.BaseElement.Dispose">
          <a class="xref" href="C1.Win.Tile.BaseElement.Dispose.html#C1_Win_Tile_BaseElement_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_Dispose_System_Boolean_" data-uid="C1.Win.Tile.BaseElement.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Tile.BaseElement.Dispose.html#C1_Win_Tile_BaseElement_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_BaseElement_ResetMargin" data-uid="C1.Win.Tile.BaseElement.ResetMargin">
          <a class="xref" href="C1.Win.Tile.BaseElement.ResetMargin.html#C1_Win_Tile_BaseElement_ResetMargin">ResetMargin()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.BaseElement.Margin.html#C1_Win_Tile_BaseElement_Margin">Margin</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_BaseElement_ShouldSerializeMargin" data-uid="C1.Win.Tile.BaseElement.ShouldSerializeMargin">
          <a class="xref" href="C1.Win.Tile.BaseElement.ShouldSerializeMargin.html#C1_Win_Tile_BaseElement_ShouldSerializeMargin">ShouldSerializeMargin()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
