Spread Windows Forms 11.0 Product Documentation
DateYearDisplayField Constructor(Boolean,YearDigitType)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateYearDisplayField Class > DateYearDisplayField Constructor : DateYearDisplayField Constructor(Boolean,YearDigitType)
if set to true the digits of the display field is fixed, otherwise, false.
A GrapeCity.Win.Spread.InputMan.CellType.YearDigitType value indicates the type of the year digit.
Initializes a new instance of the DateYearDisplayField class.
Syntax
'Declaration
 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal yearDigit As YearDigitType _
)
'Usage
 
Dim showLeadingZero As Boolean
Dim yearDigit As YearDigitType
 
Dim instance As New DateYearDisplayField(showLeadingZero, yearDigit)
public DateYearDisplayField( 
   bool showLeadingZero,
   YearDigitType yearDigit
)

Parameters

showLeadingZero
if set to true the digits of the display field is fixed, otherwise, false.
yearDigit
A GrapeCity.Win.Spread.InputMan.CellType.YearDigitType value indicates the type of the year digit.
See Also

Reference

DateYearDisplayField Class
DateYearDisplayField Members
Overload List