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

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo" class="text-break">DateHourDisplayFieldInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents the <b>DateHourDisplayFieldInfo</b> class used to define hour type display fields for the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType.html">GcDateTimeCellType</a>.</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.DisplayFieldInfo.html">DisplayFieldInfo</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateDisplayFieldInfo.html">DateDisplayFieldInfo</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateInputDisplayFieldInfo.html">DateInputDisplayFieldInfo</a></div>
    <div class="level4"><span class="xref">DateHourDisplayFieldInfo</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_DateHourDisplayFieldInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DateHourDisplayFieldInfo : DateInputDisplayFieldInfo, INamedObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DateHourDisplayFieldInfo
    Inherits DateInputDisplayFieldInfo
    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_DateHourDisplayFieldInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo__ctor">DateHourDisplayFieldInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.html">DateHourDisplayFieldInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo__ctor_System_Boolean_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.#ctor(System.Boolean)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo__ctor_System_Boolean_">DateHourDisplayFieldInfo(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.html">DateHourDisplayFieldInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo__ctor_System_Boolean_System_Boolean_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.#ctor(System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo__ctor_System_Boolean_System_Boolean_">DateHourDisplayFieldInfo(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.html">DateHourDisplayFieldInfo</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_DateHourDisplayFieldInfo_MidnightAs24" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.MidnightAs24">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.MidnightAs24.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo_MidnightAs24">MidnightAs24</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether midnight is displayed as hour 24.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo_ShowLeadingZero" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.ShowLeadingZero">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourDisplayFieldInfo.ShowLeadingZero.html#GrapeCity_Win_Spread_InputMan_CellType_Fields_DateHourDisplayFieldInfo_ShowLeadingZero">ShowLeadingZero</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether to show leading zeros.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
