Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateHourFieldInfo Class / MidnightAs24 Property


In This Topic
MidnightAs24 Property (DateHourFieldInfo)
In This Topic
Gets or sets a value that indicates whether to specify midnight as 24 o'clock.
Syntax
'Declaration
 
Public Property MidnightAs24 As Boolean
 
'Usage
 
Dim instance As DateHourFieldInfo
Dim value As Boolean
 
instance.MidnightAs24 = value
 
value = instance.MidnightAs24

Property Value

A bool value, true to specify midnight as 24 o'clock; otherwise, false.
The default is false.
Remarks
This property indicates whether midnight is displayed as 24 or zero.
See Also