Date, time and calendar controls for Windows Forms: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar, time list or clock face, and SftCalendar, a calendar showing one or more months in month, year, decade and century views. Both follow any culture and its calendar system, show special dates with colors, images and tooltips, allow empty values and validate input, and together they cover all functions of the Windows Forms DateTimePicker and MonthCalendar controls. Version 3.0 runs on the .NET Framework and on .NET 10, with Visual Studio designer support on both, and supports dark mode, per-monitor high-DPI scaling and screen readers.
Two Windows Forms controls: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar and time selection, and SftCalendar, a calendar showing one or more months. Both follow the culture and calendar system of your choice, at home on .NET 10 and on modern Windows.
Together they cover all functions of the Windows Forms DateTimePicker and MonthCalendar controls and add what those lack: empty fields with a placeholder and a Clear button, date ranges, a time list or clock face, free-form typing, validation events, special dates with colors, images and tooltips, and dark mode. Version 3.0 runs on the .NET Framework and on .NET 10, with the Visual Studio designer on both.
Coming from DateTimePicker and MonthCalendar? See where each of their functions is found in SftDate/NET.
[/]
One field for a date, a time, a date and time or a range of dates, in the culture's short and long patterns or a custom pattern.
[v]
A calendar, a time list or a clock face, or a calendar and a time selection side by side, opened with the button, F4 or Alt+Down.
31
SftCalendar shows one or more months, side by side and one below the other, in month, year, decade and century views.
(*)
Holidays and appointments in bold, in their own colors, with images and tooltips, once or repeating every week, month or year.
Aa
Any culture and its calendar system, including the Japanese, Thai Buddhist, Hijri, Hebrew and Persian calendars, in years 1 to 9999.
OK
Values are checked against the minimum and maximum dates, then offered to a validation event that can refuse or change them.
Screenshots
The demo sample shows every kind of field and a two-month calendar, with options for the culture, dark mode, high contrast, week numbers, special dates and ranges.
.NET Framework and .NET 10
SftDate/NET 3.0 runs in .NET Framework 4.7 (or later) applications and in .NET 10 (or later) Windows Forms applications, with the same classes, properties, methods and events on both, and DateOnly and TimeOnly values in .NET 10. .NET projects reference the Softelvdm.SftDateNET NuGet package from the package source Setup registers; .NET Framework projects reference the assembly directly. In both, Visual Studio's designer hosts the controls: place them from the toolbox, edit them in the Properties window, and set them up in the property pages with live previews.
Built for modern Windows
Version 3.0 follows the system's choices, so your forms do too.
Set one property and the controls follow the Windows light/dark setting, dropdown included, switching when the user changes it.
The field, its dropdown, the calendar and the clock face are sized for the DPI of the monitor showing them.
Built-in UI Automation support makes both controls and the dropdown available to Narrator, NVDA, JAWS and others.
Honors the Windows contrast theme at your option, as Microsoft's accessibility guidelines require.
Development
Platforms
Compatibility
Distribution
Save with the bundle
SftDate/NET 3.0, SftTabs/NET 3.0 and SftTree/NET 3.0 in one hugely discounted bundle.