Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateHourDisplayFieldInfo Class / DateHourDisplayFieldInfo Constructor / DateHourDisplayFieldInfo Constructor(Boolean,Boolean)
If set to true, the DateHourDisplayFieldInfo shows the leading zero.
If set to true, the DateHourDisplayFieldInfo shows midnight as 24 o'clock.


In This Topic
    DateHourDisplayFieldInfo Constructor(Boolean,Boolean)
    In This Topic
    Initializes a new instance of the DateHourDisplayFieldInfo class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal showLeadingZero As Boolean, _
       ByVal midnightAs24 As Boolean _
    )
    'Usage
     
    
    Dim showLeadingZero As Boolean
    Dim midnightAs24 As Boolean
     
    Dim instance As New DateHourDisplayFieldInfo(showLeadingZero, midnightAs24)
    public DateHourDisplayFieldInfo( 
       bool showLeadingZero,
       bool midnightAs24
    )

    Parameters

    showLeadingZero
    If set to true, the DateHourDisplayFieldInfo shows the leading zero.
    midnightAs24
    If set to true, the DateHourDisplayFieldInfo shows midnight as 24 o'clock.
    See Also