# GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.Font

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_Font_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.Font*">Font Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_Font_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.Font*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_Font" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.Font">Font</h4>
<div class="markdown level1 summary"><p>Gets or sets the font of the text displayed by the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override Font Font { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property Font As Font</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a> to apply to the text displayed by the control.
<br>The default is the value of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.defaultfont">DefaultFont</a> property.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcNumber.Font</span></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_Font_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
    The <b>Font</b> property is an ambient property. An ambient property is a control property that,
    if not set, is retrieved from the parent control. For example, a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.button">Button</a> will have the same
    <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.backcolor">BackColor</a> as its parent <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a> by default. For more information about
    ambient properties, see the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ambientproperties">AmbientProperties</a> class or the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a> class overview.
    </p>
<p></p>
<p>
    Because the <b>Font</b> is immutable (meaning that you cannot adjust any of its properties), you can only assign the <b>Font</b> property a new <b>Font</b>.
    However, you can base the new font on the existing font.
    </p>
</div>
</div>
