# GrapeCity.ActiveReports.Document.Section.InputFieldItem

## Content

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



  <h1 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem" class="text-break">InputFieldItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base canvas item for input field.</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="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</a></div>
    <div class="level2"><span class="xref">InputFieldItem</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldCheckBoxItem.html">InputFieldCheckBoxItem</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldTextItem.html">InputFieldTextItem</a></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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Document.Section.IBordered.html">IBordered</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Document.Section.html">GrapeCity.ActiveReports.Document.Section</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class InputFieldItem : CanvasItem, IDisposable, ICloneable, IBordered</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">internal class MyInputFieldItemClass : InputFieldItem
{
	public MyInputFieldItemClass(CanvasType type, RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor) : base(type, bounds, fieldName, readOnly, required, borderStyle, borderWidth, borderColor)
	{
	}
	public override CanvasItem Clone()
	{
		return new MyInputFieldItemClass(Type, Bounds, FieldName, ReadOnly, Required, BorderStyle, BorderWidth, BorderColor);
	}
}</code></pre>

  <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="GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_GrapeCity_ActiveReports_Document_Section_CanvasType_" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.#ctor(GrapeCity.ActiveReports.Document.Section.CanvasType)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.-ctor.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem__ctor_GrapeCity_ActiveReports_Document_Section_CanvasType_">InputFieldItem(CanvasType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes an instance of class <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.html">InputFieldItem</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes an instance of class <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.html">InputFieldItem</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="GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderColor" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderColor">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderColor.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderStyle" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderStyle">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderStyle.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderWidth" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderWidth">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.BorderWidth.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_BorderWidth">BorderWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border width.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Bounds" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Bounds">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Bounds.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds of the item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_FieldName" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.FieldName">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.FieldName.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_FieldName">FieldName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unique name of the field.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Height" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Height">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Height.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the inputFieldItem.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Left" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Left">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Left.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the left position of the inputFieldItem.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_ReadOnly" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.ReadOnly">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.ReadOnly.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_ReadOnly">ReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the read-only state. Prevents the user from changing the form field content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Required" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Required">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Required.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Required">Required</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the required state. Forces the user to fill in the selected field.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Top" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Top">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Top.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the top position of the inputFieldItem.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_Width" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Width">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.Width.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the inputFieldItem.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_InputFieldItem_PageOffset" data-uid="GrapeCity.ActiveReports.Document.Section.InputFieldItem.PageOffset">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.PageOffset.html#GrapeCity_ActiveReports_Document_Section_InputFieldItem_PageOffset">PageOffset()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the page offset.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
