Calendar::ShowNextPrevMonth Property
.NET Framework (current version)
Gets or sets a value indicating whether the Calendar control displays the next and previous month navigation elements in the title section.
Assembly: System.Web (in System.Web.dll)
Use the ShowNextPrevMonth property to specify whether the next and previous month navigation elements are displayed in the title section.
The appearance of the next and previous month navigation controls can be customized by using the NextPrevStyle property.
The following code example demonstrates how to use the ShowNextPrevMonth property to hide the next and previous month navigation controls in the title section.
.NET Framework
Available since 1.1
Available since 1.1
Show: