property CalendarCombo.ShowYearSelector as Boolean
Retrieves or sets a value that indicates whether the year selector is visible or hidden.

TypeDescription
Boolean A boolean expression that indicates whether the year selector is visible or hidden.
By default, the ShowYearSelector property is True. Use the ShowMonthSelector property to specify whether the selector for month are visible or hidden. The control DateChanging event when a selector is clicked.

The following screen shot shows the selectors ( by default, the left and right selectors changes the year to previous or next year, while the up and down arrow changes the current month to previous or next. Clicking the month on the header, makes the control to display a list of month to select from, ShowMonthSelector(True), ShowYearSelector(True) )

The following screen shot shows the month selector once the user clicks the month header ( by default, the left and right selectors changes the year to previous or next year, while the up and down arrow changes the current month to previous or next. Clicking the month on the header, makes the control to display a list of month to select from, ShowMonthSelector(True), ShowYearSelector(True) )

The following screen shot shows the selectors ( the left and right selectors changes the current month to previous or next. no month selector is displayed when the user clicks the month header, ShowMonthSelector(False), ShowYearSelector(True) )