# C1.Win.Tile.TemplatePaintEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Tile_TemplatePaintEventArgs" data-uid="C1.Win.Tile.TemplatePaintEventArgs" class="text-break">TemplatePaintEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for <a class="xref" href="C1.Win.Tile.Template.Paint.html">Paint</a> event.</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.eventargs">EventArgs</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.painteventargs">PaintEventArgs</a></div>
    <div class="level3"><span class="xref">TemplatePaintEventArgs</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.idevicecontext">IDeviceContext</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</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_TemplatePaintEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TemplatePaintEventArgs : PaintEventArgs, IDeviceContext, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TemplatePaintEventArgs
    Inherits PaintEventArgs
    Implements IDeviceContext, IDisposable</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_TemplatePaintEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_C1_Win_Tile_Tile_" data-uid="C1.Win.Tile.TemplatePaintEventArgs.#ctor(System.Drawing.Graphics,System.Drawing.Rectangle,C1.Win.Tile.Tile)">
          <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.-ctor.html#C1_Win_Tile_TemplatePaintEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_C1_Win_Tile_Tile_">TemplatePaintEventArgs(Graphics, Rectangle, Tile)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.html">TemplatePaintEventArgs</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_TemplatePaintEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_C1_Win_Tile_Tile_C1_Win_Tile_Slide_" data-uid="C1.Win.Tile.TemplatePaintEventArgs.#ctor(System.Drawing.Graphics,System.Drawing.Rectangle,C1.Win.Tile.Tile,C1.Win.Tile.Slide)">
          <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.-ctor.html#C1_Win_Tile_TemplatePaintEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_C1_Win_Tile_Tile_C1_Win_Tile_Slide_">TemplatePaintEventArgs(Graphics, Rectangle, Tile, Slide)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.html">TemplatePaintEventArgs</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_TemplatePaintEventArgs_Slide" data-uid="C1.Win.Tile.TemplatePaintEventArgs.Slide">
          <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.Slide.html#C1_Win_Tile_TemplatePaintEventArgs_Slide">Slide</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the currently drawn <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.Slide.html#C1_Win_Tile_TemplatePaintEventArgs_Slide">Slide</a> object or null for the main template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Tile_TemplatePaintEventArgs_Tile" data-uid="C1.Win.Tile.TemplatePaintEventArgs.Tile">
          <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.Tile.html#C1_Win_Tile_TemplatePaintEventArgs_Tile">Tile</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.Tile.TemplatePaintEventArgs.Tile.html#C1_Win_Tile_TemplatePaintEventArgs_Tile">Tile</a> object providing data for the template.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
