Spread Windows Forms 12.0 Product Documentation
MidnightAs24 Property (DateHourFieldInfo)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateHourFieldInfo Class : MidnightAs24 Property
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
public bool MidnightAs24 {get; set;}

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

Reference

DateHourFieldInfo Class
DateHourFieldInfo Members