Spread Windows Forms 11.0 Product Documentation
DateHourDisplayField Constructor(Boolean,Boolean)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateHourDisplayField Class > DateHourDisplayField Constructor : DateHourDisplayField Constructor(Boolean,Boolean)
If set to true, the DateHourDisplayField will show the leading zero.
If set to true, the DateHourDisplayField will show the mid-night as 24 o'clock.
Initializes a new instance of the DateHourDisplayField 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 DateHourDisplayField(showLeadingZero, midnightAs24)
public DateHourDisplayField( 
   bool showLeadingZero,
   bool midnightAs24
)

Parameters

showLeadingZero
If set to true, the DateHourDisplayField will show the leading zero.
midnightAs24
If set to true, the DateHourDisplayField will show the mid-night as 24 o'clock.
See Also

Reference

DateHourDisplayField Class
DateHourDisplayField Members
Overload List