# GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField" class="text-break">DisplayField Class
</h1>
  <div class="markdown level0 summary"><p>Represents <b>DisplayField</b> class to define a base for display 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"><span class="xref">DisplayField</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateDisplayField.html">DateDisplayField</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayField.html">NumberDisplayField</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.TimeSpanDisplayField.html">TimeSpanDisplayField</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.INamedObject.html">INamedObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.html">GrapeCity.Win.Spread.InputMan.CellType.Fields</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class DisplayField : INamedObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class DisplayField
    Implements INamedObject</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="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField__ctor">DisplayField()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a> class.</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_Win_Spread_InputMan_CellType_Fields_DisplayField_BackColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.BackColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.BackColor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Font" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Font">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Font.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Margin" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Margin">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Margin.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the space around the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Name" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Name">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Name.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Padding" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Padding">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Padding.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets padding within the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Size" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Size">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Size.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Text" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Text">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Text.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets text assosiated to the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a>.</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_Win_Spread_InputMan_CellType_Fields_DisplayField_PointContainerToField_System_Drawing_Point_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.PointContainerToField(System.Drawing.Point)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.PointContainerToField.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_PointContainerToField_System_Drawing_Point_">PointContainerToField(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Computes the location of the specified container point into the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a> coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_PointFieldToContainer_System_Drawing_Point_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.PointFieldToContainer(System.Drawing.Point)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.PointFieldToContainer.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_PointFieldToContainer_System_Drawing_Point_">PointFieldToContainer(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Computes the location of the specified the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.html">DisplayField</a> point into container coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ResetFont" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ResetFont">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ResetFont.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <b>Font</b> property to default value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ResetForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ResetForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.ResetForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <b>ForeColor</b> property to default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DisplayField_Paint" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Paint">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayField.Paint.html">Paint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the display field is redrawn.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
