# GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_FieldPaintEventArgs__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.#ctor*">FieldPaintEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_FieldPaintEventArgs__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_FieldPaintEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_GrapeCity_Win_Spread_InputMan_CellType_Fields_Field_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.#ctor(System.Drawing.Graphics,System.Drawing.Rectangle,GrapeCity.Win.Spread.InputMan.CellType.Fields.Field)">FieldPaintEventArgs(Graphics, Rectangle, Field)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.html">FieldPaintEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FieldPaintEventArgs(Graphics graphics, Rectangle clipRectangle, Field field)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(graphics As Graphics, clipRectangle As Rectangle, field As Field)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">graphics</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> object used to paint the item.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">clipRectangle</span></td>
      <td><p>The clipped <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> that represents the rectangle in which to paint.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.Field.html">Field</a></td>
      <td><span class="parametername">field</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.FieldPaintEventArgs.Field.html#GrapeCity_Win_Spread_InputMan_CellType_FieldPaintEventArgs_Field">Field</a> which was painted.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
