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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateEraYearDisplayField Class > DateEraYearDisplayField Constructor : DateEraYearDisplayField Constructor(Boolean,Boolean)
If set to true, the field will show leading zero.
A bool value if set to true we will display the first era year as the start of the era.
Initializes a new instance of the DateEraYearDisplayField 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 DateEraYearDisplayField(showLeadingZero, showTraditionalFirstYear)
public DateEraYearDisplayField( 
   bool showLeadingZero,
   bool showTraditionalFirstYear
)

Parameters

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

Reference

DateEraYearDisplayField Class
DateEraYearDisplayField Members
Overload List