Spread Windows Forms 12.0 Product Documentation
DateEraYearDisplayFieldInfo Constructor(Boolean,Boolean)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateEraYearDisplayFieldInfo Class > DateEraYearDisplayFieldInfo Constructor : DateEraYearDisplayFieldInfo Constructor(Boolean,Boolean)
If set to true, the field shows leading zeros.
A bool value, if set to true display the first era year as the start of the era.
Initializes a new instance of the DateEraYearDisplayFieldInfo class.
Syntax
'Declaration
 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal showTraditionalFirstYear As Boolean _
)
'Usage
 
Dim showLeadingZero As Boolean
Dim showTraditionalFirstYear As Boolean
 
Dim instance As New DateEraYearDisplayFieldInfo(showLeadingZero, showTraditionalFirstYear)
public DateEraYearDisplayFieldInfo( 
   bool showLeadingZero,
   bool showTraditionalFirstYear
)

Parameters

showLeadingZero
If set to true, the field shows leading zeros.
showTraditionalFirstYear
A bool value, if set to true display the first era year as the start of the era.
See Also

Reference

DateEraYearDisplayFieldInfo Class
DateEraYearDisplayFieldInfo Members
Overload List