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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateYearDisplayFieldInfo Class > DateYearDisplayFieldInfo Constructor : DateYearDisplayFieldInfo Constructor(Boolean,YearDigitType)
If set to true the digits of the display field are fixed; otherwise, false.
A GrapeCity.Win.Spread.InputMan.CellType.YearDigitType value that indicates the type of the year digit.
Initializes a new instance of the DateYearDisplayFieldInfo 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 DateYearDisplayFieldInfo(showLeadingZero, yearDigit)
public DateYearDisplayFieldInfo( 
   bool showLeadingZero,
   YearDigitType yearDigit
)

Parameters

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

Reference

DateYearDisplayFieldInfo Class
DateYearDisplayFieldInfo Members
Overload List