Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Windows Forms MonthCalendar control can display up to 12 months at a time. By default, the control displays only one month, but you can specify how many months are displayed and how they are arranged within the control. When you change the calendar dimensions, the control is resized, so be sure there is enough room on the form for the new dimensions.
Set the CalendarDimensions property to the number of months to display horizontally and vertically.
MonthCalendar1.CalendarDimensions = New System.Drawing.Size (3,2)
monthCalendar1.CalendarDimensions = new System.Drawing.Size (3,2);
monthCalendar1->CalendarDimensions = System::Drawing::Size (3,2);
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Customize layout in .NET MAUI XAML pages - Training
Create consistent user interfaces across different devices by using StackLayout and Grid.
Documentation
MonthCalendar Control Overview - Windows Forms .NET Framework
This article provides an overview of the MonthCalendar control in Windows Forms, which presents an intuitive GUI for users to view and set date information.
Display Specific Days in Bold with MonthCalendar Control - Windows Forms .NET Framework
Learn more about how to display specific days in bold with the Windows Forms MonthCalendar control.
Select a Range of Dates in MonthCalendar Control - Windows Forms .NET Framework
Learn about how to select a range of dates in the Windows Forms MonthCalendar control, which is an improvement over the DateTimePicker control.