# GrapeCity.ActiveReports.Document.Section.InputFieldItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor*">InputFieldItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_GrapeCity_ActiveReports_Document_Section_CanvasType_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor(GrapeCity.ActiveReports.Document.Section.CanvasType)">InputFieldItem(CanvasType)</h4>
<div class="markdown level1 summary"><p>Initializes an instance of class <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.html">InputFieldItem</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected InputFieldItem(CanvasType type)</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="GrapeCity.ActiveReports.Document.Section.CanvasType.html">CanvasType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The canvas type.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Drawing_RectangleF_System_String_System_Boolean_System_Boolean_GrapeCity_ActiveReports_Document_Section_InputBorderStyle_System_Single_System_Drawing_Color_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor(GrapeCity.ActiveReports.Document.Section.CanvasType,System.Drawing.RectangleF,System.String,System.Boolean,System.Boolean,GrapeCity.ActiveReports.Document.Section.InputBorderStyle,System.Single,System.Drawing.Color)">InputFieldItem(CanvasType, RectangleF, string, bool, bool, InputBorderStyle, float, Color)</h4>
<div class="markdown level1 summary"><p>Initializes an instance of class <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.html">InputFieldItem</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected InputFieldItem(CanvasType type, RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor)</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="GrapeCity.ActiveReports.Document.Section.CanvasType.html">CanvasType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The canvas type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">bounds</span></td>
      <td><p>The bounds.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fieldName</span></td>
      <td><p>The name of the field.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">readOnly</span></td>
      <td><p>The flag defining the read-only state.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">required</span></td>
      <td><p>The flag defining the required state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputBorderStyle.html">InputBorderStyle</a></td>
      <td><span class="parametername">borderStyle</span></td>
      <td><p>The border style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">borderWidth</span></td>
      <td><p>The border width.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">borderColor</span></td>
      <td><p>The border color.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
