Visual Basic (Declaration) | |
---|---|
Public Property FirstMonthInView As Months |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DropDownCalendarInfo Dim value As Months instance.FirstMonthInView = value value = instance.FirstMonthInView |
C# | |
---|---|
public Months FirstMonthInView {get; set;} |
Property Value
A Months enumeration value that indicates the first month in the view.The default is Months.Default.
When DropDownCalendar.CalendarType is MonthDay and 12 months are shown in the DropDownCalendar, this property specifies which month is shown first. If the value is not Months.Default, the calendar scrolls year by year.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8