Posted 16 years ago
by Phil Devaney
-
Senior Software Engineer,
Serck Controls Ltd
Version: 4.5.0470
I have a number of feature requests for the DateTimePicker/Calendar controls, as well as a minor bug. In rough order of importance:
1. I would like a version of the controls that use the new DateTimeOffset type introduced in 3.5. I don't care if the control allows editing of the Offset part, as long as it is preserved when editing the date/time.
2. Improve the manual editing of DateTimePicker to be more like the standard Win32/WinForms control i.e. masked editing, automatic rejection of invalid input, use of arrow keys. I guess some of this might already be planned with the masked editors that are in development.
3. Mimic the 'zoom out' functionality in the standard Calendar control under Vista, where clicking on the month in header zooms out to the year, then the decade then century. Also, it would be nice if the default visual style more closely matched the standard control under Vista.
4. I found an unhandled ArgumentOutOfRangeException is thrown from System.DateTime.AddMonths if the year of Calendar.SelectedDate is set to 0001 or 9999. I have no real need to use these values, I was just experimenting and found the problem.
5. To go with the WeekNumbersVisible property, a FirstWeekOfYear property might be useful, similar to Outlook e.g. whether first week is 1st Jan or 1st full week.
Phil
1. I would like a version of the controls that use the new DateTimeOffset type introduced in 3.5. I don't care if the control allows editing of the Offset part, as long as it is preserved when editing the date/time.
2. Improve the manual editing of DateTimePicker to be more like the standard Win32/WinForms control i.e. masked editing, automatic rejection of invalid input, use of arrow keys. I guess some of this might already be planned with the masked editors that are in development.
3. Mimic the 'zoom out' functionality in the standard Calendar control under Vista, where clicking on the month in header zooms out to the year, then the decade then century. Also, it would be nice if the default visual style more closely matched the standard control under Vista.
4. I found an unhandled ArgumentOutOfRangeException is thrown from System.DateTime.AddMonths if the year of Calendar.SelectedDate is set to 0001 or 9999. I have no real need to use these values, I was just experimenting and found the problem.
5. To go with the WeekNumbersVisible property, a FirstWeekOfYear property might be useful, similar to Outlook e.g. whether first week is 1st Jan or 1st full week.
Phil