Dates Selection - WinForms Calendar Controls
The Calendar Controls for Windows Forms user interface design offers multiple selection options for the convenience of end users. There are two properties, EnableSelect and EnableMultiSelect, need to be true if enabling the selection of dates. The EnableSelect property is used to enable the date selections and the EnableMultiSelect property is used to enable multiple selections at one time.
Keyboard Date Navigation for WinForms Calendar
Click Navigation for WinForms Calendar
It is really easy to select a single date by clicking on the date with mouse. When the value of the property, EnableMultiSelect, is true, users could select more than one date by pressing the Ctrl and clicking each date.
C# Code for Selecting Dates in Calendar
The following C# code snippet shows how to selecting a single calendar day, multiple dates and more dates in the SelectedDates collection.
You may also use the SelectedDates.AddRange() method to add an array of DateTime values:
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls