Spread Windows Forms 7.0 Product Documentation
DateMonthDisplayFieldInfo Constructor(Boolean,MonthPattern)
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateMonthDisplayFieldInfo Class > DateMonthDisplayFieldInfo Constructor : DateMonthDisplayFieldInfo Constructor(Boolean,MonthPattern)


showLeadingZero
A bool value, if true the field's length is fixed; otherwise, the length is alterable.
pattern
A GrapeCity.Win.Spread.InputMan.CellType.MonthPattern enumeration that indicates how to show the value of the month.

Glossary Item Box

Initializes a new instance of the DateMonthDisplayFieldInfo class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal pattern As MonthPattern _
)
Visual Basic (Usage)Copy Code
Dim showLeadingZero As Boolean
Dim pattern As MonthPattern
 
Dim instance As New DateMonthDisplayFieldInfo(showLeadingZero, pattern)
C# 
public DateMonthDisplayFieldInfo( 
   bool showLeadingZero,
   MonthPattern pattern
)

Parameters

showLeadingZero
A bool value, if true the field's length is fixed; otherwise, the length is alterable.
pattern
A GrapeCity.Win.Spread.InputMan.CellType.MonthPattern enumeration that indicates how to show the value of the month.

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.