Spread Windows Forms 7.0 Product Documentation
DateHourDisplayFieldInfo Constructor(Boolean,Boolean)
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateHourDisplayFieldInfo Class > DateHourDisplayFieldInfo Constructor : DateHourDisplayFieldInfo Constructor(Boolean,Boolean)


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

Glossary Item Box

Initializes a new instance of the DateHourDisplayFieldInfo class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal midnightAs24 As Boolean _
)
Visual Basic (Usage)Copy Code
Dim showLeadingZero As Boolean
Dim midnightAs24 As Boolean
 
Dim instance As New DateHourDisplayFieldInfo(showLeadingZero, midnightAs24)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.