Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateMonthDisplayField Class / DateMonthDisplayField Constructor / DateMonthDisplayField Constructor(Boolean,MonthPattern)
A bool value, if true the field's length is fixed. Otherwise, the length is alterable.
A GrapeCity.Win.Spread.InputMan.CellType.MonthPattern enumeration indicates how to show the value of the month.


In This Topic
    DateMonthDisplayField Constructor(Boolean,MonthPattern)
    In This Topic
    Initializes a new instance of the DateMonthDisplayField class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal showLeadingZero As Boolean, _
       ByVal pattern As MonthPattern _
    )
    'Usage
     
    
    Dim showLeadingZero As Boolean
    Dim pattern As MonthPattern
     
    Dim instance As New DateMonthDisplayField(showLeadingZero, pattern)
    public DateMonthDisplayField( 
       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 indicates how to show the value of the month.
    See Also