Spread Windows Forms 15.0
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.


In This Topic
    DateYearDisplayField Constructor(Boolean,YearDigitType)
    In This Topic
    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