# C1.Win.Tile.Template

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Tile_Template" data-uid="C1.Win.Tile.Template" class="text-break">Template Class
</h1>
  <div class="markdown level0 summary"><p>Defines a custom template for tiles.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><span class="xref">Template</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <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_Template_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Template : Component, IComponent, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Template
    Inherits Component
    Implements IComponent, 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_Template__ctor" data-uid="C1.Win.Tile.Template.#ctor">
          <a class="xref" href="C1.Win.Tile.Template.-ctor.html#C1_Win_Tile_Template__ctor">Template()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.Tile.Template.html">Template</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_Template_BackColor" data-uid="C1.Win.Tile.Template.BackColor">
          <a class="xref" href="C1.Win.Tile.Template.BackColor.html#C1_Win_Tile_Template_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color for tiles drawn with this template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_BackColorSelector" data-uid="C1.Win.Tile.Template.BackColorSelector">
          <a class="xref" href="C1.Win.Tile.Template.BackColorSelector.html#C1_Win_Tile_Template_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 template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_DefaultHorizontalSize" data-uid="C1.Win.Tile.Template.DefaultHorizontalSize">
          <a class="xref" href="C1.Win.Tile.Template.DefaultHorizontalSize.html#C1_Win_Tile_Template_DefaultHorizontalSize">DefaultHorizontalSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default width of an auto-generated tile, in cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_DefaultVerticalSize" data-uid="C1.Win.Tile.Template.DefaultVerticalSize">
          <a class="xref" href="C1.Win.Tile.Template.DefaultVerticalSize.html#C1_Win_Tile_Template_DefaultVerticalSize">DefaultVerticalSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default height of an auto-generated tile, in cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Description" data-uid="C1.Win.Tile.Template.Description">
          <a class="xref" href="C1.Win.Tile.Template.Description.html#C1_Win_Tile_Template_Description">Description</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the description for this <a class="xref" href="C1.Win.Tile.Template.html">Template</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Elements" data-uid="C1.Win.Tile.Template.Elements">
          <a class="xref" href="C1.Win.Tile.Template.Elements.html#C1_Win_Tile_Template_Elements">Elements</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of template elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Enabled" data-uid="C1.Win.Tile.Template.Enabled">
          <a class="xref" href="C1.Win.Tile.Template.Enabled.html#C1_Win_Tile_Template_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the associated tile is enabled, i.e. it can be pressed, checked, or moved by the end user.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_EnabledSelector" data-uid="C1.Win.Tile.Template.EnabledSelector">
          <a class="xref" href="C1.Win.Tile.Template.EnabledSelector.html#C1_Win_Tile_Template_EnabledSelector">EnabledSelector</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 tile is enabled, if the property
value is not equal to zero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_IsDefault" data-uid="C1.Win.Tile.Template.IsDefault">
          <a class="xref" href="C1.Win.Tile.Template.IsDefault.html#C1_Win_Tile_Template_IsDefault">IsDefault</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if this is the default template for a <a class="xref" href="C1.Win.Tile.C1TileControl.html">C1TileControl</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_IsDisposed" data-uid="C1.Win.Tile.Template.IsDisposed">
          <a class="xref" href="C1.Win.Tile.Template.IsDisposed.html#C1_Win_Tile_Template_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="C1.Win.Tile.Template.html">Template</a> has been disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Name" data-uid="C1.Win.Tile.Template.Name">
          <a class="xref" href="C1.Win.Tile.Template.Name.html#C1_Win_Tile_Template_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the unique name for this <a class="xref" href="C1.Win.Tile.Template.html">Template</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Padding" data-uid="C1.Win.Tile.Template.Padding">
          <a class="xref" href="C1.Win.Tile.Template.Padding.html#C1_Win_Tile_Template_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.Template.html">Template</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Slides" data-uid="C1.Win.Tile.Template.Slides">
          <a class="xref" href="C1.Win.Tile.Template.Slides.html#C1_Win_Tile_Template_Slides">Slides</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of template slides.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_TileControl" data-uid="C1.Win.Tile.Template.TileControl">
          <a class="xref" href="C1.Win.Tile.Template.TileControl.html#C1_Win_Tile_Template_TileControl">TileControl</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner <a class="xref" href="C1.Win.Tile.C1TileControl.html">C1TileControl</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_TopmostElements" data-uid="C1.Win.Tile.Template.TopmostElements">
          <a class="xref" href="C1.Win.Tile.Template.TopmostElements.html#C1_Win_Tile_Template_TopmostElements">TopmostElements</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of elements that appear above all slides.</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_Template_Clone" data-uid="C1.Win.Tile.Template.Clone">
          <a class="xref" href="C1.Win.Tile.Template.Clone.html#C1_Win_Tile_Template_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Win.Tile.Template.html">Template</a> that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_CloneTemplate" data-uid="C1.Win.Tile.Template.CloneTemplate">
          <a class="xref" href="C1.Win.Tile.Template.CloneTemplate.html#C1_Win_Tile_Template_CloneTemplate">CloneTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the current <a class="xref" href="C1.Win.Tile.Template.html">Template</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_Dispose_System_Boolean_" data-uid="C1.Win.Tile.Template.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Tile.Template.Dispose.html#C1_Win_Tile_Template_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_Template_OnPaint_C1_Win_Tile_TemplatePaintEventArgs_" data-uid="C1.Win.Tile.Template.OnPaint(C1.Win.Tile.TemplatePaintEventArgs)">
          <a class="xref" href="C1.Win.Tile.Template.OnPaint.html#C1_Win_Tile_Template_OnPaint_C1_Win_Tile_TemplatePaintEventArgs_">OnPaint(TemplatePaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Tile.Template.Paint.html">Paint</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_ResetBackColor" data-uid="C1.Win.Tile.Template.ResetBackColor">
          <a class="xref" href="C1.Win.Tile.Template.ResetBackColor.html#C1_Win_Tile_Template_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.Template.BackColor.html#C1_Win_Tile_Template_BackColor">BackColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_ResetDescription" data-uid="C1.Win.Tile.Template.ResetDescription">
          <a class="xref" href="C1.Win.Tile.Template.ResetDescription.html#C1_Win_Tile_Template_ResetDescription">ResetDescription()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.Template.Description.html#C1_Win_Tile_Template_Description">Description</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_ResetPadding" data-uid="C1.Win.Tile.Template.ResetPadding">
          <a class="xref" href="C1.Win.Tile.Template.ResetPadding.html#C1_Win_Tile_Template_ResetPadding">ResetPadding()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.Tile.Template.Padding.html#C1_Win_Tile_Template_Padding">Padding</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_ShouldSerializeDescription" data-uid="C1.Win.Tile.Template.ShouldSerializeDescription">
          <a class="xref" href="C1.Win.Tile.Template.ShouldSerializeDescription.html#C1_Win_Tile_Template_ShouldSerializeDescription">ShouldSerializeDescription()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_Template_ShouldSerializePadding" data-uid="C1.Win.Tile.Template.ShouldSerializePadding">
          <a class="xref" href="C1.Win.Tile.Template.ShouldSerializePadding.html#C1_Win_Tile_Template_ShouldSerializePadding">ShouldSerializePadding()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_Template_Paint" data-uid="C1.Win.Tile.Template.Paint">
          <a class="xref" href="C1.Win.Tile.Template.Paint.html">Paint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the template is used for drawing a tile.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
