# C1.Win.Layout.HeaderPaintEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Layout_HeaderPaintEventArgs" data-uid="C1.Win.Layout.HeaderPaintEventArgs" class="text-break">HeaderPaintEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.Layout.C1DashboardLayout.PaintHeader.html">PaintHeader</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">HeaderPaintEventArgs</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Layout.html">C1.Win.Layout</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DashboardLayout.4.8.dll</h6>
  <h5 id="C1_Win_Layout_HeaderPaintEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HeaderPaintEventArgs : PaintEventArgs, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class HeaderPaintEventArgs
    Inherits PaintEventArgs
    Implements 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_Layout_HeaderPaintEventArgs__ctor_System_Windows_Forms_Control_System_Windows_Forms_Control_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Win.Layout.HeaderPaintEventArgs.#ctor(System.Windows.Forms.Control,System.Windows.Forms.Control,System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Win.Layout.HeaderPaintEventArgs.-ctor.html#C1_Win_Layout_HeaderPaintEventArgs__ctor_System_Windows_Forms_Control_System_Windows_Forms_Control_System_Drawing_Graphics_System_Drawing_Rectangle_">HeaderPaintEventArgs(Control, Control, Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Layout.HeaderPaintEventArgs.html">HeaderPaintEventArgs</a> class with the specified header, item container, graphics and clipping rectangle.</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_Layout_HeaderPaintEventArgs_Control" data-uid="C1.Win.Layout.HeaderPaintEventArgs.Control">
          <a class="xref" href="C1.Win.Layout.HeaderPaintEventArgs.Control.html#C1_Win_Layout_HeaderPaintEventArgs_Control">Control</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the item container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Layout_HeaderPaintEventArgs_Header" data-uid="C1.Win.Layout.HeaderPaintEventArgs.Header">
          <a class="xref" href="C1.Win.Layout.HeaderPaintEventArgs.Header.html#C1_Win_Layout_HeaderPaintEventArgs_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the header panel of the item container.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
