Spread Windows Forms 12.0 Product Documentation
DateShortHourDisplayField Constructor(Boolean,Hour12Mode)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateShortHourDisplayField Class > DateShortHourDisplayField Constructor : DateShortHourDisplayField Constructor(Boolean,Hour12Mode)
A bool value indicates whether the length of the field is fixed.
A Hour12Mode enumeration indicates how we represents the hour 12 in duodecimal hour format.
Initializes a new instance of the DateShortHourDisplayField class.
Syntax
'Declaration
 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal hour12Mode As Hour12Mode _
)
'Usage
 
Dim showLeadingZero As Boolean
Dim hour12Mode As Hour12Mode
 
Dim instance As New DateShortHourDisplayField(showLeadingZero, hour12Mode)
public DateShortHourDisplayField( 
   bool showLeadingZero,
   Hour12Mode hour12Mode
)

Parameters

showLeadingZero
A bool value indicates whether the length of the field is fixed.
hour12Mode
A Hour12Mode enumeration indicates how we represents the hour 12 in duodecimal hour format.
See Also

Reference

DateShortHourDisplayField Class
DateShortHourDisplayField Members
Overload List