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

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourField" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField" class="text-break">DateHourField Class
</h1>
  <div class="markdown level0 summary"><p>Represents <b>DateHourField</b> class to define hour fields for the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcDateTime</span> control.</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.Win.Spread.InputMan.CellType.Fields.Field.html">Field</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateField.html">DateField</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateInputField.html">DateInputField</a></div>
    <div class="level4"><span class="xref">DateHourField</span></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_DateHourField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DateHourField : DateInputField, INamedObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DateHourField
    Inherits DateInputField
    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_DateHourField__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourField__ctor">DateHourField()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField.html">DateHourField</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_DateHourField_MidnightAs24" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField.MidnightAs24">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourField.MidnightAs24.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourField_MidnightAs24">MidnightAs24</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicates whether treats midnight as 24 o'clock.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
