Spread Windows Forms 10.0 Product Documentation
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.
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.
Requirements

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

See Also

Reference

DateHourDisplayFieldInfo Class
DateHourDisplayFieldInfo Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.