Spread Windows Forms 9.0 Product Documentation
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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

DateYearDisplayField Class
DateYearDisplayField Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.