# FarPoint.Win.Spread.PaintGrayAreaEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_PaintGrayAreaEventArgs" data-uid="FarPoint.Win.Spread.PaintGrayAreaEventArgs" class="text-break">PaintGrayAreaEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Represents the event data for the PaintGrayArea event for the Spread component.</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"><span class="xref">PaintGrayAreaEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_PaintGrayAreaEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PaintGrayAreaEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PaintGrayAreaEventArgs
    Inherits EventArgs</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="FarPoint_Win_Spread_PaintGrayAreaEventArgs__ctor_FarPoint_Win_Spread_SpreadView_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.PaintGrayAreaEventArgs.#ctor(FarPoint.Win.Spread.SpreadView,System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.PaintGrayAreaEventArgs.-ctor.html#FarPoint_Win_Spread_PaintGrayAreaEventArgs__ctor_FarPoint_Win_Spread_SpreadView_System_Drawing_Graphics_System_Drawing_Rectangle_">PaintGrayAreaEventArgs(SpreadView, Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object with the PaintGrayArea event arguments.</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="FarPoint_Win_Spread_PaintGrayAreaEventArgs_DrawRectangle" data-uid="FarPoint.Win.Spread.PaintGrayAreaEventArgs.DrawRectangle">
          <a class="xref" href="FarPoint.Win.Spread.PaintGrayAreaEventArgs.DrawRectangle.html#FarPoint_Win_Spread_PaintGrayAreaEventArgs_DrawRectangle">DrawRectangle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rectangle area representing the gray area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_PaintGrayAreaEventArgs_Graphics" data-uid="FarPoint.Win.Spread.PaintGrayAreaEventArgs.Graphics">
          <a class="xref" href="FarPoint.Win.Spread.PaintGrayAreaEventArgs.Graphics.html#FarPoint_Win_Spread_PaintGrayAreaEventArgs_Graphics">Graphics</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the graphics device that handles the gray area.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
